Model DDS Applications in Simulink
Configure DDS application models as Publishers and Subscribers to DDS Topics
After you have created DDS definitions for your application, you must ensure that your application model is constructed appropriately to connect to the DDS network and that you specify a DDS interface to facilitate that connection. To model your application as a Publisher or Subscriber, use the DDS Blockset blocks to adapt your model to send and receive data samples with the DDS network. With an appropriately constructed application model, configure a DDS interface to specify the Topic and Quality of Service (QoS) for the DataReaders and DataWriters in the modeled application.
Blocks
Take DDS Sample | Receive Data Samples from DDS network (Since R2021a) |
Write DDS Sample | Send Data Samples to DDS network (Since R2021a) |
Tools
Code Mappings Editor | Configure DDS application inports and outports as DataReaders and DataWriters (Since R2021a) |
DDS Dictionary | Manage DDS aspects of an application (Since R2021a) |
Topics
Model Architecture and Design
- Model DDS Applications
Configure Simulink® models as Publishers and Subscribers. - Model DDS Input Events
Configure Simulink models to use DDS events at the input ports of your model.
DDS Interface Configuration
- Interactively Configure DDS Interface
Configure DDS interfaces for applications to connect to the DDS network.