Instead of checking outputs in the workspace I used a switch in my simulink model to stop the simulation when a certain threshold was reached.
Is there a way to check the data being sent to workspace from my Simulink model so I can choose to stop the simulation?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a Simulink Multibody model that outputs position data to the workspace after it is done simulating. I have been running the simulation using the sim() command in a MATLAB script. Is there a way that I can run the simulation in MATLAB while checking the position output and then stop the simulation after I have reached a certain position? Thank you.
Réponses (1)
Chidvi Modala
le 17 Juil 2019
I understand that you want to stop Simulink simulation when a certain condition is met.
0 commentaires
Voir également
Catégories
En savoir plus sur Applications 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!