Stateflow Highlight Active States in Model Reference

Why stateflow does not highlight the active state while running simulation, if the Stateflow chart is used in a Model Reference?

 채택된 답변

Ganesh
Ganesh 2023년 12월 5일

0 개 추천

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:

추가 답변 (1개)

Sascha Tenkleve
Sascha Tenkleve 2024년 1월 25일

0 개 추천

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".

카테고리

도움말 센터File Exchange에서 Stateflow에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2023년 11월 30일

답변:

2024년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by