stateflow variant states possible?
3 ビュー (過去 30 日間)
古いコメントを表示
Michael Felger
2019 年 7 月 17 日
回答済み: Srinath Avadhanula
2020 年 11 月 5 日
Is is possible to add variants of a state inside a stateflow diagram, similar to variant subsystems in simulink?
0 件のコメント
採用された回答
Srinath Avadhanula
2020 年 11 月 5 日
Stateflow has built-in support for variant transitions starting in R2020a. Please refer to the following page:
You should be able to use this to model variant states.
0 件のコメント
その他の回答 (2 件)
Jonas
2019 年 7 月 17 日
編集済み: Jonas
2019 年 7 月 17 日
You may want to have a look at Simulink Functions inside Stateflow: https://nl.mathworks.com/help/stateflow/ug/simulink-functions-in-stateflow.html
Try to put a variant subsystem inside the Simulink Function. I have not tried it myself, but this would be the first thing to try.
Jordan McBain
2020 年 8 月 20 日
I think this should be a feature precisely as the questioner suggests. I wonder if you might use a simulink variant on one of the state flow transitions to achieve the change in behaviour (probably not as nice as using the variant idea suggested)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!