Main Content

Truth Table

Report on truth tables in Simulink and Stateflow models

Description

The Truth Table component reports on truth tables in Simulink® and Stateflow® models. It displays both the condition table and the action table. The parent component of the Truth Table determines its behavior.

  • Model Loop: Reports on all truth tables in the current model.

  • System Loop: Reports on all truth tables in the current system.

  • Block Loop : Reports on all truth tables in the current block.

  • Signal Loop: Reports on all truth tables in the current signal.

  • State Loop: Reports on all truth tables in the current state.

Title

Title: Specifies a title for the truth table.

  • No title

  • Use Stateflow name

  • Custom

Condition Table

Specify display parameters for the condition table.

  • Show header: Displays the column headers in the table.

  • Show number: Displays the condition number column in the table.

  • Show condition: Displays the condition column in the table.

  • Show description: Displays the description column in the table.

  • Wrap if column count exceeds: Specifies how many columns to display before creating a table continuation. If the specified number is greater than the number of columns that can appear on the page, some columns do not appear in the report.

Action Table

  • Show header: Displays the column headers in the table.

  • Show number: Displays the condition number column in the table.

  • Show condition: Displays the condition column in the table.

  • Show description: Displays the description column in the table. If you do not select this option, no action table appears in the report.

Insert Anything into Report?

Yes. Table.

Class

rptgen_sf.csf_truthtable