Simulink :: Change the number of continous-states during simulation
Ältere Kommentare anzeigen
Is it possible to change the number of continous-states during simulation?
In Level-2 S-function
and how?
Antworten (2)
Kaustubha Govind
am 8 Mai 2013
0 Stimmen
No, the number of states (continuous/discrete) needs to be configured in the setup method, and cannot change during simulation.
Bakró
am 8 Mai 2013
0 Stimmen
1 Kommentar
Kaustubha Govind
am 9 Mai 2013
Yes, it is. You can read the dialog parameter value in the setup method. (Also, as an aside, could you ask follow-up questions as a comment to my original answer. It is confusing to ask a question as an "Answer". Thanks!)
Kategorien
Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!