Can I plot the simulink model signals with respect to real time?

1 view (last 30 days)
Dear Matlab Community,
I am building a simulink model from which I want to plot few signal with respect to real time (1 sec clock time).
Please refer the below image,
Here signal value has been changed from 5 to 10 after 6.00e+5 simulation time, But in actual scenario is was change in 5 sec of real/clock time and want to plot signal with real/clock time.
Please let me know if you have any leads on this.
Thank you in advance.

Answers (1)

Jan Houska
Jan Houska on 3 May 2022
Hi Shubham,
you can try Simulation Pacing.
Good Luck, Jan

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!