MATLAB: How to skip graphical functions in Stateflow chart while debugging in Stateflow 6.5 (R2006b)

debugstateflow

I would like to be able to skip graphical functions when I debug the Stateflow chart step-by-step. I do not want to debug the graphical function every time it is used in the chart.

Best Answer

This enhancement has been incorporated in Release 2012b (R2012b) in the form of Step over/ Step out buttons in the Stateflow Debugger window. For previous product releases, read below for any possible workarounds:
The ability to skip the graphical functions when debugging a Stateflow chart is not available in Stateflow.
To work around this issue, place the breakpoints before and after the graphical functions to avoid debugging the graphical function.