Documentation

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.

Getting Started with Stateflow

About Finite State Machines

Use Stateflow to Model Finite State Machines

Model dynamic systems as finite state machines in Stateflow®.

Tutorials

Construct and Execute a Stateflow Chart

Build state transition diagrams in the Stateflow graphical programming editor.

Define Chart Behavior by Using Actions

Control the behavior of a Stateflow chart by using actions in states and transitions.

Create a Hierarchy to Manage System Complexity

Design logic at multiple levels in a complex system by using hierarchy.

Model Synchronous Subsystems by Using Parallelism

Implement operating modes that are active at the same time by using parallel states.

Synchronize Parallel States by Broadcasting Events

Broadcast events from one state to another to synchronize parallel states.

Monitor Chart Activity by Using Active State Data

Automatically track which state is active during simulation.

Schedule Chart Actions by Using Temporal Logic

Define chart behavior in terms of simulation time by using temporal logic operators.

Was this topic helpful?