Stateflow User's Guide Previous page   Next Page

Watching Data in the Stateflow Debugger

The Browse Data pull-down menu in the Stateflow Debugger lets you display selected data in the bottom output display pane of the Stateflow Debugger during simulation, after a breakpoint is reached. Its selections filter the displayed data items between watched data and all data. Watched data has the property Watch in Debugger enabled for it. Watched data is further filtered between data for the currently executing chart, or data for all charts in the model.

The following example is set to display All Data (All Charts) for two executing charts, Chart1 and Chart2, for the simulating model test_debugger.mdl. Each chart has its own data value: x1 and x2, respectively.

The data for each chart is headed by its owning object. Each displayed object (chart, state, data, and so on) is accompanied by a unique identifier in the form (#id(xx:yy:zz)), which is used in linking the listed object to its appearance in the Stateflow diagram.


Previous page  Watching Data Values with Debuggers Watching Stateflow Data in MATLAB Next page

© 1994-2005 The MathWorks, Inc.