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!