Azzera filtri
Azzera filtri

Stop Time at Simulink changes after running simulation

3 visualizzazioni (ultimi 30 giorni)
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 Commento
Ameer Hamza
Ameer Hamza il 13 Giu 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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by