Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Tabular Expression of Modal Logic

Operating modes in state transition tables

Blocks

State Transition Table Represent modal logic in tabular format

Topics

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:

Create State Transition Table and Specify Properties

At the MATLAB command prompt, enter:

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.

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 (Embedded Coder)

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.

Related Information

Was this topic helpful?