Simulink model running in "real time"

28 vues (au cours des 30 derniers jours)
Piotr Pacanowski
Piotr Pacanowski le 10 Août 2018
Commenté : Amish Chavda le 15 Août 2023
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

Réponse acceptée

Ameer Hamza
Ameer Hamza le 10 Août 2018
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.
  4 commentaires
Andrew Paice
Andrew Paice le 2 Mai 2022
I have a newer version - 2021b. But I don't find Simulation > Pacing Option
Amish Chavda
Amish Chavda le 15 Août 2023
I am facing the same issue. Can someoen From Matlab, answer this?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by