Main Content
Simulation in Simulink
Simulate Stateflow® charts as blocks in Simulink® models
Model Simulink algorithms embedded in Stateflow charts. Define chart actions by using C or MATLAB® as the action language. Design state machines that implement Mealy, Moore, or continuous-time semantics.
Categories
- Data, Events, and Messages
Configure input and output signals, event triggers, and messages
- Data Specification
Specify scope, type, and size of state variables
- Mealy, Moore, and Continuous-Time Charts
Implement domain-specific semantics
- Simulink Subsystems as States
Embed Simulink based states within your Stateflow chart
- C Action Language
Use C language syntax in state and transition actions