How to store the simulink run/stop status in matlab work space?

2 visualizaciones (últimos 30 días)
Hyunjun Shin
Hyunjun Shin el 27 de Oct. de 2014
Comentada: Hyunjun Shin el 3 de Nov. de 2014
I am trying to use simulink advanced control tool box in Aspen HYSYS dynamic model. I have to start/stop HYSYS dynamic model after calculations are done from simulink toolbox.
I hope to execute iterative commands to start/stop the hysys dynamic model using the status of simulink run/stop in MATLAB.
Any kinds of comment will be appreciated.
regard.

Respuestas (1)

Sandip Kumar
Sandip Kumar el 28 de Oct. de 2014
In order to get the status of the model, use the following command:
get_param(<modelName>, 'SimulationStatus')
More information can be found here:
Thanks, Sandip

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by