| Stateflow User's Guide |
 |
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:
- In the Stateflow diagram editor, right-click the truth table.
- In the resulting pop-up shortcut menu, select Properties.
- The Truthtable dialog appears, as shown.

- For Debugger breakpoints, select Function Call.
- This sets a breakpoint to occur when this truth table function is called in the Stateflow diagram during simulation.
- Select OK to save settings and close the Truthtable dialog.
| Checking Truth Tables for Errors | | Debugging a Truth Table During Simulation |  |
© 1994-2005 The MathWorks, Inc.