| Stateflow User's Guide | ![]() |
Opening a Truth Table for Editing
Once you create and label a truth table in a Stateflow diagram, you specify its logical behavior by editing its contents in the truth table editor. To open a truth table function in a Stateflow diagram, double-click it.
A blank truth table editor window appears.
The truth table editor is titled in <model name>/<truth table name> format in its header. An empty default truth table contains a Condition Table and an Action Table, each with one row. The Condition Table also contains a single decision column, D1, and a single action row.
| Programming a Truth Table | Entering Truth Table Conditions | ![]() |
© 1994-2005 The MathWorks, Inc.