How to display multiple compare signals in Simulink Data Inspector (SDI) simultaneously through command line?

8 ビュー (過去 30 日間)
I am able to get the signal ID for logged signals from simulating the model. But when comparing 2 signals from different simulation runs multiple times I am only able to display one comparison in SDI.
For example if I have signals with following IDs
ID1=7, ID2=10, ID3=15, ID4=132
And I do the following comparison
Simulink.sdi.compareSignals(ID1,1D3);
Simulink.sdi.compareSignals(ID4,1D2);
Simulink.sdi.view
Then I am able to view the last comparion only i.e., ID4 and ID2 comparison only. How to view both the comparison? Is there any command to do that or any ways we can do it manually?
  1 件のコメント
Andrew Lv
Andrew Lv 2022 年 10 月 19 日
SDI can only display the most recent comparison result. Any earlier comparison result cannot be retrieved.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by