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).
|Sequence Viewer||Display messages, events, states, transitions, and functions between blocks during simulation|
|change||Generate implicit event when data changes value|
|enter||Generate implicit event when state becomes active|
|exit||Generate implicit event when state becomes inactive|
|send||Broadcast message or event|
|after||Execute chart after event broadcast or specified time|
|at||Execute chart at event broadcast or specified time|
|before||Execute chart before event broadcast or specified time|
|count||Chart executions during which condition is valid|
|every||Execute chart at regular intervals|
|temporalCount||Number of events, chart executions, or time since state became active|
Use events to communicate with Simulink and MATLAB®.
Add, delete, and trace nongraphical objects.
Specify event properties by using the Property Inspector or the Model Explorer.
Broadcast edge triggers and function calls as input events.
Set the behavior of states when a function-call input event reenables a chart.
Broadcast edge triggers and function calls as output events.
Bind a function-call output event to the activity of a state.
Communicate between parallel (AND) states by making directed event broadcasts.
Trigger chart actions by changes in data values and state activity.
View the interchange of messages, events, and functions through the Sequence Viewer block.