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.

Stateflow

Model and simulate decision logic using state machines and flow charts

Stateflow® is an environment for modeling and simulating combinatorial and sequential decision logic based on state machines and flow charts. Stateflow lets you combine graphical and tabular representations, including state transition diagrams, flow charts, state transition tables, and truth tables, to model how your system reacts to events, time-based conditions, and external input signals.

With Stateflow you can design logic for supervisory control, task scheduling, and fault management applications. Stateflow includes state machines animation and static and run-time checks for testing design consistency and completeness before implementation.

Getting Started

Learn the basics of Stateflow

Design Complex Logic

Create supervisory logic for hierarchical systems

Chart Programming

Build a chart with state syntax and execution semantics

Interface with Simulink

Configure event triggers, system inputs, and system outputs

Simulation and Verification

Check that your design satisfies requirements

Component-Based Modeling

Design modular charts for large-scale modeling

Fault Detection, Isolation, and Recovery

Design algorithms and applications for failure detection, recovery, and management

Schedulers

Execute single or multiple systems at specific times

Was this topic helpful?