Inifite simulation stop time / Scope problems

21 visualizaciones (últimos 30 días)
Mathieu Risseeuw
Mathieu Risseeuw el 22 de Mayo de 2019
Comentada: Mathieu Risseeuw el 23 de Mayo de 2019
Dear Sir / Madam,
I am using a Stateflow in Matlab simulink to determine whether a controller subsystem is enabled or disabled. Therefore, I have the simulation model stop time set to 'infinite' which also requires a variable step time.
The problem here that when I plot a value from the subsystem (cylinder displacement) into a simulink scope, the x-axis shows inrealistic time values of around 300 * 10^5 seconds.
What I actually would want to accomplish is an inifite stop time, but with realistic (RealTime) time values.
Is this possible?
Thanks in advance

Respuestas (1)

Toshinobu Shintai
Toshinobu Shintai el 23 de Mayo de 2019
Dear Mathieu Risseeuw.
I still don't understand fully what is the problem for you, but
is the "simulation pacing" solve your problem?
If the scope of the model actually shows inrealistic value, please report as a bug.
(For example, real time step is 4.01s, but scope time step is 50700s.)
Thank you.
  5 comentarios
Toshinobu Shintai
Toshinobu Shintai el 23 de Mayo de 2019
Sorry for delaying my answer.
I'm glad that you solve the problem.
Mathieu Risseeuw
Mathieu Risseeuw el 23 de Mayo de 2019
Thank you so much for your time. Have a nice day

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by