How to run Simulation for certain amount of time
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello,
i want to run my Simulation for a certain amount of time and then pause it. I tried with an assertion block which works fine but if i start the simulation through python the assertion block doesn't stop the simulation. Is there a work around?
kind regards
댓글 수: 0
채택된 답변
Fangjun Jiang
2021년 5월 11일
Specify the start time and stop time either directly through numerical value, or through variables and then set the value for the variables.
댓글 수: 5
Urveshkumar Dharmendrabhai
2023년 4월 26일
Thank you for your answer. Would you please clarify what is a
time
in your answer? How and where have you defined 'time' variable?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call MATLAB from Python에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!