Controlling the Simulink model run status through external API
Mostrar comentarios más antiguos
RTWT workshop is used to generate C code for a Simulink model and start/ stop of the model is controlled through a VC++ GUI (Visula studio 2008) using set_param() commands. This is working fine. But when it is desired to pause the model execution using a similar method (set_param(‘modelname’,’SimulationCommand’,’pause’)), we find that the model does not pause. We have also tried using a assertion block, but of no use. We wanted to know the conditions in which any model cannot be paused (because we have tried the same in a very simple simulink model and it works).
2 comentarios
Kaustubha Govind
el 18 de Mzo. de 2013
By RTWT, did you mean Real-Time Windows Target, or are you simply using External Mode?
Kamali
el 19 de Mzo. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Target Computer Setup en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!