Simulink :: Change the number of continous-states during simulation
4 views (last 30 days)
Show older comments
Is it possible to change the number of continous-states during simulation?
In Level-2 S-function
and how?
0 Comments
Answers (2)
Kaustubha Govind
on 8 May 2013
No, the number of states (continuous/discrete) needs to be configured in the setup method, and cannot change during simulation.
0 Comments
Bakró
on 8 May 2013
1 Comment
Kaustubha Govind
on 9 May 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!)
See Also
Categories
Find more on Block and Blockset Authoring in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!