How to display multiple compare signals in Simulink Data Inspector (SDI) simultaneously through command line?
2 views (last 30 days)
Show older comments
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 Comment
Andrew Lv
on 19 Oct 2022
SDI can only display the most recent comparison result. Any earlier comparison result cannot be retrieved.
Answers (0)
See Also
Categories
Find more on Analyze Simulation Results in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!