Events
Trigger actions within your Stateflow® chart or other Simulink® subsystems by using events. Trigger external actions by sending events to other charts in your Simulink model. For more information on sending events to the Schedule Editor to schedule the execution of aperiodic partitions, see Events in Schedule Editor (Simulink).
Blocks
| Sequence Viewer | Display messages, events, states, transitions, and functions between blocks during simulation | 
Stateflow Syntax
Topics
- Synchronize Model Components by Broadcasting EventsUse events to communicate with Simulink and MATLAB®. 
- Manage Symbols in the Stateflow EditorAdd, delete, and trace nongraphical objects. 
- Set Properties for an EventSpecify event properties by using the Property Inspector or the Model Explorer. 
- Activate a Stateflow Chart by Sending Input EventsBroadcast edge triggers and function calls as input events. 
- Control States in Charts Enabled by Function-Call Input EventsSet the behavior of states when a function-call input event reenables a chart. 
- Activate a Simulink Block by Sending Output EventsBroadcast edge triggers and function calls as output events. 
- Control Function-Call Subsystems by Using bind ActionsBind a function-call output event to the activity of a state. 
- Broadcast Local Events to Synchronize Parallel StatesCommunicate between parallel (AND) states by making directed event broadcasts. 
- Control Chart Behavior by Using Implicit EventsTrigger chart actions by changes in data values and state activity. 
- Use the Sequence Viewer to Visualize Messages, Events, and EntitiesView the interchange of messages, events, and functions through the Sequence Viewer block. 



