| Stateflow User's Guide |
 |
Setting the Output Display Pane
During simulation, the Debugging window monitors a variety of execution indicators in its output display in the bottom pane of the Debugging window. You select the contents of this display with the following pull-downs located just above the display, which are enabled only after a breakpoint is reached during simulation.
- Breakpoints -- Display a list of the set breakpoints. You can set breakpoints in the Debugger and in the properties dialogs of individual objects such as states, transitions, and functions. See Setting Breakpoints for Debugging for details. This option lists breakpoints for the currently executing chart or for all charts in the model.
- Browse Data -- Display the current values of defined data objects. This pull-down list lets you filter displayed data between all data and watched data. Watched data has the Data property Watch in Debugger enabled for it. Each of these categories is further filtered by data for the currently executing chart, or all charts in the model. For more details see Watching Data in the Stateflow Debugger.
- Active States -- Display a list of active states in the display area. Double-clicking any state causes the graphics editor to display that state. This pull-down lets you display active states in the current chart, or active states for all charts in the model.
- Call Stack -- Display a sequential list of the Stopped and Current Event status items that occur with each single-step through the simulation.
Once you make a selection, the pulldown corresponding to the current display is highlighted. 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 File menu of the Stateflow Debugging window.
| Controlling the Execution Rate in the Debugging Window | | Debugging Run-Time Errors Example |  |
© 1994-2005 The MathWorks, Inc.