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

조회 수: 3 (최근 30일)
Hyunjun Shin
Hyunjun Shin 2014년 10월 27일
댓글: Hyunjun Shin 2014년 11월 3일
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.

답변 (1개)

Sandip Kumar
Sandip Kumar 2014년 10월 28일
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

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by