Simulink :: Change the number of continous-states during simulation

Is it possible to change the number of continous-states during simulation?
In Level-2 S-function
and how?

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2013년 5월 8일

0 개 추천

No, the number of states (continuous/discrete) needs to be configured in the setup method, and cannot change during simulation.
Bakró
Bakró 2013년 5월 8일

0 개 추천

and... is it possible to set the number of states by a Dialog Parameter?

댓글 수: 1

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!)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기

제품

질문:

2013년 5월 8일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by