Stateflow Highlight Active States in Model Reference
21 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Alessandro Carnevali
le 30 Nov 2023
Réponse apportée : Sascha Tenkleve
le 25 Jan 2024
Why stateflow does not highlight the active state while running simulation, if the Stateflow chart is used in a Model Reference?
0 commentaires
Réponse acceptée
Ganesh
le 5 Déc 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 commentaires
Plus de réponses (1)
Sascha Tenkleve
le 25 Jan 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 commentaires
Voir également
Catégories
En savoir plus sur Stateflow dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!