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 machine animation and static and run-time checks for testing design consistency and completeness before implementation.


Capabilities

Designing Logic

Model system logic using state machines.

Learn more

Integrating Components and Scheduling Algorithms

Integrate with other components to build your state machine algorithm.

Learn more

Simulating a Model and Analyzing the Results

Analyze the behavior of your system by simulating your model.

Learn more

Validating the Design and Generating Code

Validate your design against requirements and generate code for implementation on your embedded system.

Learn more

Product Resources

Discover more about Stateflow by exploring these resources.

Documentation

Explore documentation for Stateflow functions and features, including release notes and examples.

Functions

Browse the list of available Stateflow functions.

System Requirements

View system requirements for the latest release of Stateflow.

Technical Articles

View articles that demonstrate technical advantages of using Stateflow.

User Stories

Read how Stateflow is accelerating research and development in your industry.

Community and Support

Find answers to questions and explore troubleshooting resources.


Try or Buy

Get a Free Trial

Test drive Stateflow.

Get a trial

Ready to Buy?

Purchase Stateflow and explore related products.

Contact sales
Pricing and licensing

Have Questions?

Rick

Contact Rick Boldt,
Stateflow Technical Expert

Email Rick

Stateflow requires MATLAB, and Simulink.


Related Solutions

Use Stateflow to solve scientific and engineering challenges:


News and Events

Get a MathWorks engineer's perspective on Simulink and Model-Based Design.

Control Logic Made Easy with Stateflow