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

3 次查看(过去 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