This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

State Transition Tables

Design modal logic in tabular form

Design your combinatorial logic in tabular form by using state transition tables. State transition tables provide an easy on-ramp for learning Stateflow® and are an ideal solution for simple, process-oriented, sequential state machines. To detect modeling errors, run diagnostic checks, set breakpoints, and step through actions while monitoring data values.

Blocks

State Transition TableRepresent modal logic in tabular format

Topics

State Transition Tables in Stateflow

Express sequential logic in tabular form.

State Transition Table Operations

Construct state transition tables in the Stateflow Editor.

Model Bang-Bang Controller by Using a State Transition Table

Use a state transition table to model a temperature regulator.

View State Reactions by Using a State Transition Matrix

Use an alternative layout for your state transition tables.

Highlight Flow of Logic in a State Transition Table

Use highlighting to visualize a flow of logic in a state transition table.

State Transition Table Diagnostics

Run diagnostic checks on a state transition table.

Debug Run-Time Errors in a State Transition Table

Use breakpoints to debug state transition tables.

Related Information

Featured Examples