Skip to Main Content Skip to Search
Product Documentation

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 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

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

How Stateflow Software Generates Content for Truth Tables

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS