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

1 回表示 (過去 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 Center および File ExchangeModel Compatibility についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by