main content

消息 -凯发k8网页登录

在 simulink® 模型组件之间建立基于消息的通信

消息用于对 simulink 组件之间的通信建模,以实现系统集成。您可以使用消息在组合模型中建立通信,该模型的组件执行一组已定义的具有 i/o 边界的功能。

在控制系统架构中,由于系统的复杂性,集中式架构被分布式架构所取代,因此软件组件之间基于消息的通信是必需的。消息是有用的建模工件,它将具有相关数据的事件结合在一起。使用消息模块来管理消息的生成、使用和存储。

要了解有关 simulink 消息的更多信息,请参阅simulink messages overview

模块

create and send message
receive messages
检测穿越点
enqueue messages and entities
combine message paths
subsystem whose execution is controlled by message input
display messages, events, states, transitions, and functions between blocks during simulation

工具

visualize messages, events, states, transitions, and functions

主题

了解 simulink 消息

  • simulink messages overview
    overview of the message-based communication for distributed architectures, code generation, and middleware modeling.

对消息发送和接收接口建模

  • animate and understand sending and receiving messages
    send, receive, visualize, and animate messages and display message data.

  • create message send and receive interfaces, and prepare components for c code generation.

  • specify queue properties for individual model components and compositions.

  • route messages using a message merge block.

  • send and receive virtual buses with message elements carrying nonvirtual bus as data.

  • send and receive messages with nonvirtual bus data.

  • this example shows how to synchronize execution with data availability in message-based systems.

基于消息的计算


  • distributed control of room temperatures by processing messages from room thermostats and communicating control commands using messages to different receivers.

  • an event-based adaptive cruise control (acc) using messages and message-triggered subsystems.

  • demonstrate and compare message triggered subsystems and message polling subsystems.

  • 此示例说明如何使用 matlab system 模块发送、接收和处理消息。使用 system object 创建模块以对发送和接收消息以及操作消息有效负载的自定义行为建模。
  • (automated driving toolbox)
    generate code for message-based communication between components of a highway lane following system.

  • model a wireless tire pressure monitoring system with fault logging using message communication.

仿真中间件对分布式架构的影响

网站地图