Clear Filters
Clear Filters

How can I overlay Simulink curves obtained when model parameters are changed?

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

Accepted Answer

Fangjun Jiang
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
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.

Sign in to comment.

More Answers (0)

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!