Main Content

Event Semantics

Synchronize chart and state execution by using events

Control your Stateflow® chart independently of the Simulink® time step by using events.

Topics

Use Events to Execute Charts

An overview of chart response to event broadcasts.

Broadcast Local Events in Parallel States

Use the send operator for directed event broadcasts.

Process Events in States Containing Inner Transitions

No state exit and entry actions are executed when inner transitions occur.

Control Chart Execution by Using Event Actions in a Superstate

Charts execute actions in a superstate before actions in a substate.

View Differences Between Stateflow Messages, Events, and Data

Compare the behavior of messages, events, and data in Stateflow charts.

Featured Examples