Stateflow User's Guide Previous page   Next Page

Starting Simulation in the Debugging Window

To debug the Stateflow diagrams in a model, you start simulation in the Debugging window with the following steps:

  1. Select the Start button.
  1. A debugging simulation session starts. When a breakpoint that you set is encountered, the Stateflow Debugging window takes on the following appearance:

At the breakpoint, the following status items are displayed in the upper portion of the Debugger window:

During simulation the Stateflow diagram is marked read-only. The appearance of the Stateflow diagram editor toolbar and menus changes so that object creation is not possible. When the diagram editor is in this read-only mode, its condition is referred to as iced.


Previous page  Setting Error Checking in the Debugging Window Controlling Animation in the Debugging Window Next page

© 1994-2005 The MathWorks, Inc.