| Stateflow® | ![]() |
Here is the recommended workflow for using truth tables in Simulink models:
Add a truth table to your Simulink model using one of the methods described in Building a Simulink Model with a Stateflow Truth Table.
Specify properties of the truth table function, as described in Specifying Properties of Truth Table Functions in Stateflow Charts.
Select an action language and program the conditions and actions in the truth table, as described in Programming a Truth Table.
Debug the truth table for syntax errors and for error during simulation, as described in Debugging a Truth Table.
Check coverage of conditions and actions in the truth table, as described in Model Coverage for Truth Tables.
Simulate the model and check the generated content for the truth tables, as described in How Stateflow Software Implements Truth Tables.
![]() | Language Options for Stateflow Truth Tables | Building a Simulink Model with a Stateflow Truth Table | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |