How to run Simulation for certain amount of time
10 views (last 30 days)
Show older comments
Peter Pallasch
on 11 May 2021
Edited: Peter Pallasch
on 26 Apr 2023
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 Comments
Accepted Answer
Fangjun Jiang
on 11 May 2021
Specify the start time and stop time either directly through numerical value, or through variables and then set the value for the variables.
5 Comments
Urveshkumar Dharmendrabhai
on 26 Apr 2023
Thank you for your answer. Would you please clarify what is a
time
in your answer? How and where have you defined 'time' variable?
More Answers (0)
See Also
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!