stateflow variant states possible?
Mostrar comentarios más antiguos
Is is possible to add variants of a state inside a stateflow diagram, similar to variant subsystems in simulink?
Respuesta aceptada
Más respuestas (2)
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.
1 comentario
Michael Felger
el 17 de Jul. de 2019
Jordan McBain
el 20 de Ag. de 2020
0 votos
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)
Categorías
Más información sobre Decision Logic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!