Main Content

Messages & Events

Blocks for modeling message-based communication

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.

Blocks

Hit CrossingDetect crossing point
Hit SchedulerSchedule major time steps for variable-step solver (Since R2022b)
Message MergeCombine message paths (Since R2021a)
Message Triggered SubsystemSubsystem whose execution is controlled by message input (Since R2022a)
QueueEnqueue messages and entities
ReceiveReceive messages
SendCreate and send message
Sequence ViewerDisplay messages, events, states, transitions, and functions between blocks during simulation

Topics

  • Simulink Messages Overview

    Overview of the message-based communication for distributed architectures, code generation, and middleware modeling.

Featured Examples