Stateflow    

Error Checking Options

The options in the Error checking options section of the Debugger insert generated code in the simulation target to provide breakpoints to catch different types of errors that might occur during simulation. Select any or all of the following error checking options:

To include the supporting code designated for these debugging options, select the Enable debugging/animation check box in the Coder Options dialog. You access this dialog through the Target Builder properties dialog box (see Specifying Code Generation Options).

Animation Controls

Activating animation causes visual color changes (objects are highlighted in the selection color) in the Stateflow diagram based on the simulation execution.

Activate animation by turning on the Enabled check box. Deactivate animation by turning on the Disabled check box. You can specify the animation speed from a range of 0 (fast, the default) to 1 (slow) second.

Display Controls

Use these buttons to control the output display:

Once you select an output display button, that type of output is displayed until you choose a different display type. You can clear the display by selecting Clear Display from the Debugger's File menu.


  Stateflow Debugger User Interface Debugging Run-Time Errors Example