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

 채택된 답변

Ameer Hamza
Ameer Hamza 2018년 8월 10일

0 개 추천

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

Piotr Pacanowski
Piotr Pacanowski 2018년 8월 10일
Hello, Thank you a lot, it works! Do you know how to freeze my PATH? I add the directory containing new blocks to the PATH (addpath) but after each restart of the matlab/simulink I have to do it again.
Thank you in advance!
Best regards, Piotr
Ameer Hamza
Ameer Hamza 2018년 8월 10일
You can use Set Path tool to add the path for the future sessions.
Andrew Paice
Andrew Paice 2022년 5월 2일
I have a newer version - 2021b. But I don't find Simulation > Pacing Option
Amish Chavda
Amish Chavda 2023년 8월 15일
I am facing the same issue. Can someoen From Matlab, answer this?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2018년 8월 10일

댓글:

2023년 8월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by