Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Simulink modeling from the command line
조회 수: 1 (최근 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!