How to run Simulation for certain amount of time
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Peter Pallasch
le 11 Mai 2021
Modifié(e) : Peter Pallasch
le 26 Avr 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 commentaires
Réponse acceptée
Fangjun Jiang
le 11 Mai 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 commentaires
Urveshkumar Dharmendrabhai
le 26 Avr 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?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Call MATLAB from Python dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!