manage dds definitions
to manage the dds aspects of your applications in the simulink® environment, you can use a section of the simulink data dictionary that contains dds properties called the dds dictionary. the dds dictionary is an intuitive graphical interface that enables you to quickly create and edit the dds domains, topics, data samples, and quality of service (qos) you need to configure the publisher, subscriber, datareader, and datawriter aspects of your model. the dds dictionary enables you to easily create and configure the dds aspects of your application without having to delve into the tedious, low-level details of xml or idl specification.
to create the dds aspects of your application, open the dds dictionary and configure the dds aspects of your application by working through the graphical interface tabs from left to right:
create dds data types. to create a dds application that sends and receives data samples, composed of dds data types, across the dds network use the types tab of the dds dictionary. the dds blockset supports the dds data types struct, const, and enum. if you have numerous types, you can organize these types into libraries and modules for easier access to these types during configuration. for each dds data type in your dictionary, you can edit the data type and its associated simulink equivalent data type. these simulink equivalent data types are used in the application logic in the simulink environment. for more information, see .
create domains and topics. after you have created dds data types to send and receive data, you can use the domains tab to configure the domains and topics so that your application can publish and subscribe to specific categories of data. domains specify a portion of the dds network and a topic specifies a category of data. you can use the dds dictionary to create domains and configure their names, ids, and topics. you can also create topics and configure their names, registered types, and qos. for more information, see .
create quality of service (qos). finally, you can use the qos tab to import and control qos policies that specify aspects of the data connection for your dds application. dds blockset provides access to your vendor default qos profile, a built-in qos profile library, and the ability to import and edit qos specified in xml. you can use the dds dictionary to apply qos to topics or you can use the profiles to specify qos to the publisher, subscriber, datareader, and datawriter aspects of your application represented within the model workspace. for more information, see .