Stateflow    

Breakpoints

A breakpoint indicates a point at which the Debugger halts execution of a simulating Stateflow diagram. The Debugger supports global and local breakpoints. Global breakpoints halt execution on any occurrence of the specific type of breakpoint. Local breakpoints halt execution on a specific object instance. When simulation execution halts at a breakpoint, you can

The breakpoints can be changed during run-time and are immediately enforced. When you save the Stateflow diagram, all the debugger settings (including breakpoints) are saved, so that the next time you open the model, the breakpoints are as you left them.


  Including Error Checking in the Target Build Run-Time Debugging