Pause model until new data arrives
Mostrar comentarios más antiguos
I have a Simulink model that processes much faster than the speed new input data arrives into the model. I have a control signal within the model that notifies when new data arrives. Is there a way to pause the model until the control signal specifies there is new data? I tried to use an enable subsystem block but I do not want to have the signal held at the last value for an extended period of time because it messes up the next part of the algorithm.
Respuestas (1)
KL
el 15 de Ag. de 2017
set_param('vdp','SimulationCommand','pause')
and once your signal arrives,
set_param('vdp','SimulationCommand','continue')
1 comentario
BRANDON YEE
el 15 de Ag. de 2017
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!