Simulink Based State
R2026bSimulink subsystem in Stateflow chart
Description
A Simulink® based state embeds a Simulink subsystem within a Stateflow® state. Use a Simulink based state to model hybrid dynamic systems or systems that switch between periodic and continuous time dynamics.
To add a Simulink based state to a chart:
In the Stateflow Editor, in the object palette, click the Simulink Based State icon
.Click a location in the chart canvas to place the Simulink based state.
Type a name for the Simulink based state.
Properties
Version History
Introduced in R2017b