Info

此问题已关闭。 请重新打开它进行编辑或回答。

Simulink modeling from the command line

2 次查看(过去 30 天)
lei
lei 2019-10-7
关闭: MATLAB Answer Bot 2021-8-20
How can I run two simulink models with inf simulation time at the same time from the command line?

回答(1 个)

Ankit
Ankit 2019-10-7
编辑:Ankit 2019-10-7
you can use following commands:
open_system({ 'model1name', 'model2name' });
set_param('model1name', 'StopTime', 'inf')
set_param('model2name', 'StopTime', 'inf')

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by