Borrar filtros
Borrar filtros

Stop Time at Simulink changes after running simulation

3 visualizaciones (últimos 30 días)
Rodolfo Torres
Rodolfo Torres el 13 de Jun. de 2020
Comentada: Ameer Hamza el 13 de Jun. de 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 comentario
Ameer Hamza
Ameer Hamza el 13 de Jun. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by