Change constant during simulation in Simulink
Afficher commentaires plus anciens
I update my constants during simulation in following way: run simulation, stop, change const, run, stop and so on. But how can i do this programmatically? This is the picture what should be result.

Réponses (2)
Azzi Abdelmalek
le 2 Déc 2013
1 vote
Look at set_param function
Vincent Nicolazzo
le 6 Mar 2019
Modifié(e) : Vincent Nicolazzo
le 6 Mar 2019
0 votes
Check out this link. It's not the best method but it worked for me. I would run my simullation and change the value of the constant in the command window.
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!