Messages are used to model communication between Simulink components for the purpose of system integration. You can use messages to establish communication in a composition model whose components perform a defined set of functionalities with I/O boundaries.
Message-based communication between software components is necessary in control system architectures where centralized architectures are replaced by distributed architectures due to system complexity. A message is a useful modeling artifact that combines events with related data. Use message blocks to manage the production, consumption, and storage of messages.
To learn more about Simulink messages, see Simulink Messages Overview.
Overview of the message-based communication workflow.
Animate and Understand Sending and Receiving Messages
This example shows how to send, receive, and visualize messages.
Establish Message Send and Receive Interfaces Between Software Components
This example shows how to model message-based communication between software components that run in different applications.
Model a Message Receive Interface that Runs on Message Availability
This example shows how to synchronize execution with data availability in message-based systems.
Use a Queue Block to Manage Messages
This example shows how to use a Queue block to store and queue messages.
Modeling Message Communication Patterns with SimEvents
This example shows how to create common communication patterns using SimEvents®.