Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Represent Combinatorial Logic Using Truth Tables

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

StepTaskReference
1Add a truth table to your Simulink model.

Build Model with Stateflow Truth Table

2Specify properties of the truth table function.

Specify Properties of Truth Table Functions in Stateflow Charts

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

Program a Truth Table

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

Debug a Truth Table

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

How Stateflow Generates Content for Truth Tables

Was this topic helpful?