MATLAB: Simulink model running in “real time”

real timerealtimesimulink

Hello everyone,
I would like to run my simulink model in the "real time". Actually, when I turn it on time goes from 0 to 10000s in less than 1s. Is there any possibility to slow it down?
I would like to have an opportunity to change some settings during the simulation and see the output.
Thank you in advance!
Best regards, Piotr

Best Answer

In R018a, you can go to Simulation > Pacing Option from the menu bar and set the simulation speed. In older versions, you will need https://www.mathworks.com/matlabcentral/fileexchange/29107-real-time-pacer-for-simulink.