Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Stateflow

Product Description

Working with Stateflow

Stateflow is part of an integrated simulation environment in which you can model, simulate, and analyze complex dynamic systems. By using Stateflow with Simulink, you can create models of your embedded software that combine the logical behavior of Stateflow (such as fault management and mode switching) with the algorithmic behavior of Simulink (such as feedback control and signal conditioning). You can also create a model of the system and its environment in Simulink and run hybrid simulations to study the interactions between the two. Stateflow uses Model Explorer in Simulink to create data, events, and targets and to navigate, search, and configure the attributes of all Stateflow objects.

Stateflow Fig 2

Simulink model (bottom left) and Stateflow chart (top right) of a radio receiver and decoder. Stateflow is used in this model to achieve symbol synchronization.

Modeling a Launch Abort System 12:43
Model a launch abort system that will send an aircraft back to Earth if an anomaly or fault occurs during the launch.

Stateflow Figure 3

Simulink model (bottom left) and Stateflow chart (top right) of the control logic for a power window system. The Simulink model incorporates the electric motor (modeled in SimPowerSystems) and the window mechanism (modeled in SimMechanics) to determine the load on the motor and enable the logic to detect obstacles in the window's path.

Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
Contact sales
Free technical kit
Trial software

Get Pricing and
Licensing Options

Upcoming Webinar

Embedded Code Generation for AC Motor Controllers new