Stateflow 7.4
Product Description
- Introduction and Key Features
- Working with Stateflow
- Creating State Charts
- Adding Functions
- Executing State Charts
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.
Simulink model (below, left) and Stateflow chart (left) of a radio receiver and decoder. Stateflow is used in this model to achieve symbol synchronization. Click on image to see enlarged view. |
Simulink model (below, left) and Stateflow chart (left) 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. Click on image to see enlarged view. |
Store

