Stateflow User's Guide Previous page   Next Page

Specifying a Breakpoint for the Call to a Truth Table

Before you debug the truth table during simulation, you must set a breakpoint for the truth table in its properties dialog as follows:

  1. In the Stateflow diagram editor, right-click the truth table.
  2. In the resulting pop-up shortcut menu, select Properties.
  1. The Truthtable dialog appears, as shown.

  1. For Debugger breakpoints, select Function Call.
  1. This sets a breakpoint to occur when this truth table function is called in the Stateflow diagram during simulation.

  1. Select OK to save settings and close the Truthtable dialog.

Previous page  Checking Truth Tables for Errors Debugging a Truth Table During Simulation Next page

© 1994-2005 The MathWorks, Inc.