Effacer les filtres
Effacer les filtres

Stop Time at Simulink changes after running simulation

3 vues (au cours des 30 derniers jours)
Rodolfo Torres
Rodolfo Torres le 13 Juin 2020
Commenté : Ameer Hamza le 13 Juin 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 commentaire
Ameer Hamza
Ameer Hamza le 13 Juin 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by