Is there any way to run simulink model after certain time period?

14 ビュー (過去 30 日間)
Ahmed Fadhil Hassoney
Ahmed Fadhil Hassoney 2014 年 2 月 9 日
回答済み: Joachim Schlosser 2014 年 4 月 14 日
Is there any way to run simulink model after certain time period? i.e I want the first model run by click "run" and in the middle of the running will call another model to start running.

採用された回答

Kaustubha Govind
Kaustubha Govind 2014 年 4 月 14 日
Simulink can currently only run one model at a time, but you can still achieve what you need by referencing the second model from the first model. You can place it inside an Enabled Subsystem to force the second model to start running only when the enable signal comes on.

その他の回答 (1 件)

Joachim Schlosser
Joachim Schlosser 2014 年 4 月 14 日
You may want to have a look at the Simulin documentation for Run Parallel Simulations. If parfor does not offer what you need, implement Kaustubha's idea by looking into a Triggered Subsystem converted to Model Block.

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by