Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

Workflow for Using Truth Tables

Here is the recommended workflow for using truth tables in Simulink models.

StepTaskReference
1Add a truth table to your Simulink model.

Building a Simulink Model with a Stateflow Truth Table

2Specify properties of the truth table function.

Specifying Properties of Truth Table Functions in Stateflow Charts

3Select an action language and program the conditions and actions in the truth table.

Programming a Truth Table

4Debug the truth table for syntax errors and for error during simulation.

Debugging a Truth Table

5(Optional) Check coverage of conditions and actions in the truth table.

Checking Model Coverage for Truth Tables

6Simulate the model and check the generated content for the truth tables.

How Stateflow Software Implements Truth Tables

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS