Clear Filters
Clear Filters

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

2 views (last 30 days)
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!