Stop Time at Simulink changes after running simulation

3 次查看(过去 30 天)
Hi,
I am working on Simulink. I change the Stop time parameter on top panel to 10 seconds, but when I run the simulation the top time is changed automatically to 1220 seconds. Why is it happening?
Also, Scope block graph is displayed from 0 to 1220 seconds (Axis X) which is not meaningful for me. How can I change the X value on the X Axis in thw Scope block?
Thanks
Rodolfo
  1 个评论
Ameer Hamza
Ameer Hamza 2020-6-13
I guess some function inside your model is changing the stop-time. Do you have MATLAB function blocks in your model? It is also possible that there is some callback function which gets executed when the simulation complete. Can you share the Simulink file?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by