Filter löschen
Filter löschen

Stop Time at Simulink changes after running simulation

2 Ansichten (letzte 30 Tage)
Rodolfo Torres
Rodolfo Torres am 13 Jun. 2020
Kommentiert: Ameer Hamza am 13 Jun. 2020
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 Kommentar
Ameer Hamza
Ameer Hamza am 13 Jun. 2020
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by