This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Events

Create triggers to activate other systems

Use events to trigger actions within your Stateflow® chart or other Simulink® subsystems. Trigger multiple actions simultaneously with events. Trigger external actions by sending events to other charts in your Simulink model.

Topics

Communicate with Simulink Subsystems by Broadcasting Events

Synchronize model components by broadcasting events between Stateflow charts and Simulink blocks.

Set Properties for an Event

Specify event properties by using the Property Inspector or the Model Explorer.

Activate a Stateflow Chart by Sending Input Events

Broadcast edge triggers and function calls as input events.

Control States in Charts Enabled by Function-Call Input Events

Set the behavior of states when a function-call input event reenables a chart.

Activate a Simulink Block by Sending Output Events

Broadcast edge triggers and function calls as output events.

Control Function-Call Subsystems by Using Bind Actions

Bind a function-call output event to the activity of a state.

Resolve Undefined Symbols in Your Chart

Detect and add undefined data, events, and messages.

View Differences Between Stateflow Messages, Events, and Data

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

Use the Sequence Viewer Block to Visualize Messages, Events, and Entities

View the interchange of messages, events, and functions through the Sequence Viewer block.

Featured Examples