Parsim Rapid Accelerator Mode setting Start Time and Stop Time
조회 수: 6 (최근 30일)
이전 댓글 표시
I would like to set the start time and stop time of Parsim. I have followed https://www.mathworks.com/help/simulink/slref/rapid-accelerator-simulations-using-parsim.html
to setup the simulation but I cant figure out how to change the start and stop time of the simulation. I have tried setting start and stop times to variables and using .setvariable with no luck. Any help would be great.
댓글 수: 0
채택된 답변
Rahul Kumar
2020년 4월 23일
Hi Betsy,
You can set StartTime and StopTime as ModelParameters on the SimulationInput object
in = in.setModelParameter('StartTime','1','StopTime','4');
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Run Multiple Simulations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!