フィルターのクリア

Stateflow Highlight Active States in Model Reference

2 ビュー (過去 30 日間)
Alessandro Carnevali
Alessandro Carnevali 2023 年 11 月 30 日
回答済み: Sascha Tenkleve 2024 年 1 月 25 日
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 日
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 日
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".

カテゴリ

Help Center および File ExchangeStateflow についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by