Main Content
Truth Tables
Represent combinational logic for decision-making
applications
Truth table functions implement combinatorial logic design in a concise, tabular format. Include a truth table inside a Stateflow® chart or add a Truth Table block directly to your Simulink® model.
Blocks
Truth Table | Represent logical decision-making behavior with conditions, decisions, and actions |
Topics
- Use Truth Tables to Model Combinatorial Logic
Express combinatorial logic in tabular form.
- Program a Truth Table
Define the logical behavior of a truth table.
- Correct Overspecified and Underspecified Truth Tables
Run diagnostic checks to detect errors in truth table specification.
- Export Stateflow Functions for Reuse
Extend the scope of your functions to other blocks in a Simulink model.
- Reuse Functions by Using Atomic Boxes
Encapsulate reusable functions in a separate namespace.
Troubleshooting
Use breakpoints to debug truth tables.