Info
此问题已关闭。 请重新打开它进行编辑或回答。
Simulink modeling from the command line
2 次查看(过去 30 天)
显示 更早的评论
How can I run two simulink models with inf simulation time at the same time from the command line?
0 个评论
回答(1 个)
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')
1 个评论
Walter Roberson
2019-10-7
However, you cannot sim() them both at the same time and have them both running. In order to do that, see https://www.mathworks.com/help/simulink/ug/running-parallel-simulations.html
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!