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.
Truth Table | Represent logical decision-making behavior with conditions, decisions, and actions |
Specify function calls in states and transitions.
Use Truth Tables to Model Combinatorial Logic
Express combinatorial logic in tabular form.
Define the logical behavior of a truth table.
View Generated Content for Stateflow Truth Tables
Truth table logic is implemented as flow charts and MATLAB® functions.
Use breakpoints to debug truth tables.
Correct Overspecified and Underspecified Truth Tables
Run diagnostic checks to detect errors in truth table specification.
Map Fault Conditions to Actions by Using Truth Tables
Use truth tables to map fault conditions to their consequent actions.
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.