How can I manipulate variable values in the watch window in order to manually trigger state transitions in StateFlow?

조회 수: 2 (최근 30일)
I can set breakpoints in a StateFlow diagram and see how the values of my variables change in the watch window. How can I change the values of the variables myself while in the debug mode?

답변 (1개)

Jorge Calvo
Jorge Calvo 2021년 11월 2일
Hi Iulia,
When your Stateflow chart is paused at a breakpoint, you can change data values directly in the Symbols pane or the MATLAB Command Window. For more information, see https://www.mathworks.com/help/stateflow/ug/watching-data-values-during-simulation.html.

카테고리

Help CenterFile Exchange에서 Stateflow에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by