Stateflow Highlight Active States in Model Reference
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alessandro Carnevali
el 30 de Nov. de 2023
Respondida: Sascha Tenkleve
el 25 de En. de 2024
Why stateflow does not highlight the active state while running simulation, if the Stateflow chart is used in a Model Reference?
0 comentarios
Respuesta aceptada
Ganesh
el 5 de Dic. de 2023
Stateflow referenced models focus on the Simulation of the model rather than the internal behaviour. Due to this, the referenced models do not highlight the active states.
A workaround for this would be to use the logging and debugging tools while using Stateflow.
Please follow this documentation for understanding debugging in Stateflow:
0 comentarios
Más respuestas (1)
Sascha Tenkleve
el 25 de En. de 2024
have you checked that the Simulation mode set in the 'Model Reference' Block is "Normal"?
In general the Stateflow animation does not support modes other than "Normal" (Accelerator/Rapid Accelerator).
Also the model which contains the 'Model Reference' Block shall be set to "Normal".
0 comentarios
Ver también
Categorías
Más información sobre Stateflow en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!