Mensajes
Envíe, reciba y reenvíe mensajes que contengan datos para comunicarse entre los gráficos de Stateflow® y otros componentes de Simulink® y SimEvents®. A diferencia de los eventos, los mensajes se ponen en cola hasta que el componente que los recibe puede procesarlos. Para obtener más información sobre el uso de los mensajes en Simulink, consulte Simulink Messages Overview (Simulink).
Bloques
Sequence Viewer | Display messages, events, states, transitions, and functions between blocks during simulation |
Sintaxis de Stateflow
Temas
- Comunicarse con gráficos de Stateflow con el envío de mensajes
Sincronice los componentes del modelo y comparta datos enviando mensajes entre los gráficos de Stateflow.
- Set Properties for a Message
Specify message properties by using the Property Inspector or the Model Explorer.
- Control Message Activity in Stateflow Charts
Send, receive, discard, or forward a Stateflow message.
- Send Messages with String Data
Communicate between charts by using messages with string payloads.
- Manage Symbols in the Stateflow Editor
Add, delete, and trace nongraphical objects.
- Use the Sequence Viewer to Visualize Messages, Events, and Entities
View the interchange of messages, events, and functions through the Sequence Viewer block.