Main Content

Create DDS Definitions

DDS Blockset enables applications modeled in Simulink® to use DDS by bringing DDS concepts such as Domains, Topics, Types, and Quality of Service (QoS) into the Simulink environment. To bring these concepts into Simulink, you can use the DDS Application Quick Start to import DDS definitions from XML, use previously defined definitions stored in Simulink, or create default definitions from the application model. For this example, you can create DDS definitions from the application model.

  1. Open the model shapesdemo.

  2. Open the DDS Blockset app. In the Apps Gallery, click DDS Application Designer.

  3. When you start the DDS Blockset app, the DDS Application Quick Start opens. Walk through the Quick Start steps:

    1. Specify the DDS application name and vendor. Leave the application name as its default, which is the name of the application model, shapesdemo. Select the DDS vendor that you want to use for your application. For this example, select eProsima.

    2. Specify the source of the DDS definitions. You can import DDS definitions from XML, use previously defined definitions stored in Simulink, or create default definitions from the application model. For this example, select Create and use default dictionary.

    3. To wrap up the transition from DDS to Simulink, click Finish. When you finish the DDS Application Quick Start, the app creates your DDS application, associates it with the DDS Dictionary, and configures it appropriately for eProsima.

Related Topics