Événements
Déclenchez des actions dans votre diagramme Stateflow® ou dans d’autres sous-systèmes Simulink® à l’aide d’événements. Déclenchez des actions externes en envoyant des événements à d’autres diagrammes de votre modèle Simulink. Pour plus d’informations sur l’envoi d’événements au Schedule Editor dans le but de planifier l’exécution de partitions apériodiques, consultez Events in Schedule Editor (Simulink).
Blocs
| Sequence Viewer | Display messages, events, states, transitions, and functions between blocks during simulation |
Syntaxe Stateflow
Rubriques
- Synchronize Model Components by Broadcasting Events
Use events to communicate with Simulink and MATLAB®.
- Manage Symbols in the Stateflow Editor
Add, delete, and trace nongraphical objects.
- Set Properties for an Event
Specify event properties by using the Property Inspector or the Model Explorer.
- Activer un diagramme Stateflow en envoyant des événements en entrée
Diffuser des déclenchements par front d’impulsion et des appels de fonctions en tant qu’événements en entrée.
- 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.
- Broadcast Local Events to Synchronize Parallel States
Communicate between parallel (AND) states by making directed event broadcasts.
- Control Chart Behavior by Using Implicit Events
Trigger chart actions by changes in data values and state activity.
- Use the Sequence Viewer to Visualize Messages, Events, and Entities
View the interchange of messages, events, and functions through the Sequence Viewer block.



