Documentation

Tabular Expression of Modal Logic

Operating modes in state transition tables

Blocks

State Transition Table Represent modal logic in tabular format

Examples and How To

Create State Transition Table and Specify Properties

At the MATLAB command prompt, enter:

Model Bang-Bang Controller with State Transition Table

A state transition table is an alternative way of expressing modal logic.

Generate Diagrams from State Transition Tables

Stateflow® software automatically generates a read-only state transition diagram from the state transition table you create.

View State Reactions with State Transition Matrix

Describes generation of an interaction with the state transition matrix.

Highlight Flow of Logic

To visualize a flow of logic, you can highlight one transition cell per row in your state transition table.

Trace Stateflow Objects in Generated Code

See how bidirectional traceability works for states and transitions by following these steps:

Debug Run-Time Errors in a State Transition Table

Use breakpoints to debug state transition tables.

Concepts

What Is a State Transition Table?

A state transition table is an alternative way of expressing sequential modal logic.

Differences Between State Transition Tables and Charts

State transition tables support a subset of the most commonly used elements in Stateflow charts.

Anatomy of a State Transition Table

A state transition table contains the following components:

Rules for Using State Transition Tables

Use MATLAB instead of C as action language syntax.

State Transition Table Operations

Use these operations to set up your state transition table.

State Transition Table Diagnostics

You can run diagnostic checks on a state transition table.

Related Information

Was this topic helpful?