| Stateflow User's Guide | ![]() |
Creating a Stateflow Truth Table
You create a Simulink model in Creating a Simulink Model that contains a Stateflow block. Now you need to open the Stateflow diagram for the block and specify a truth table for it in the following steps:
ttable), its arguments (x, y, and z), and its return value (t). Argument and return values can each be a scalar value or a matrix of values. Multiple return values are not allowed.
| Note If you need to reedit the truth table label at any time, click the label to place an editing cursor in the text of the label. |
| Creating a Simulink Model | Calling a Truth Table in a Stateflow Action | ![]() |
© 1994-2005 The MathWorks, Inc.