How can I overlay Simulink curves obtained when model parameters are changed?
4 views (last 30 days)
Show older comments
Hello: I want to be able to overlay simulink scope plot curves obtained from different model parameter settings.
For example, I can generate a step transient curve for an open loop system and a step transient curve for a closed loop system, but how do I overlay the two plots on the same axis for comparison purposes.
Is there something in simulink similar to the "hold on" function in Matlab so that curves can be overlayed on the same axis?
Thanks
1 Comment
Stefanie Hiu
on 5 Dec 2023
Hi did you ever find out how to do this? Because I am currently facing the same problem.
Accepted Answer
Fangjun Jiang
on 5 Dec 2023
Not on the Scope block, but these days you can utilize the Simulink Data Inspector (SDI). Run simulation multiple times and then compare the same signal.
1 Comment
madhan ravi
on 5 Dec 2023
Edited: madhan ravi
on 5 Dec 2023
+1 and Answer Accepted Fangjun: yes, SDI makes life much easier and saves a lot of time to do MiL testing for example.
More Answers (0)
See Also
Categories
Find more on View and Analyze Simulation Results in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!