| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Stateflow |
| Contents | Index |
| Learn more about Stateflow |
Here is the recommended workflow for using truth tables in Simulink models.
| Step | Task | Reference |
|---|---|---|
| 1 | Add a truth table to your Simulink model. | |
| 2 | Specify properties of the truth table function. | Specifying Properties of Truth Table Functions in Stateflow Charts |
| 3 | Select an action language and program the conditions and actions in the truth table. | |
| 4 | Debug the truth table for syntax errors and for error during simulation. | |
| 5 | (Optional) Check coverage of conditions and actions in the truth table. | |
| 6 | Simulate the model and check the generated content for the truth tables. |
![]() | Language Options for Stateflow Truth Tables | Building a Simulink Model with a Stateflow Truth Table | ![]() |

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 |