DDS Dictionary
Manage DDS aspects of an application
Open the DDS Dictionary
Open a model in the DDS Blockset app. On the DDS tab, click Code Interface and select DDS Dictionary.
In a Simulink data dictionary, if DDS definitions are available, a DDS Libraries node appears in the dictionary. If you open the DDS Libraries section of the Simulink data dictionary, in the Details pane, you can click Open DDS Libraries to open the graphical interface for the DDS Dictionary.
Examples
Parameters
TypesName
— Names of DDS data type libraries and data types
character vector
The names of DDS data type libraries or DDS data types available in the DDS Dictionary.
Example: TypeLibrary, ShapeType
Type
— DDS data type
character vector
The DDS data type in the DDS Dictionary. Supported DDS data types are Const, Enum, and Struct.
To view the equivalent Simulink data type for a DDS data type, select a DDS data type to open the Details pane and review the corresponding Simulink data type information.
DDS Data Type | Simulink Data Type |
---|---|
Const | numeric MATLAB variable |
Enum | Enumeration |
Struct | Simulink.Bus object |
Example: Const, Enum, Struct
Name
— Names of Domain libraries, modules, Domains, and Topics
character vector
The names of Domain Libraries, Domain Modules, Domains, and Topics available in the DDS Dictionary.
Example: ShapesDomainLibrary, ShapesLibrary, Circle
Domain ID
— ID of a Domain
character vector
Domain ID you can set to specify a Domain.
Example: 1
Topic Type
— DDS data type specified for a Topic
character vector
The DDS data type that a Topic uses for its Data Samples.
Example: ShapeType
Name
— Names of QoS libraries and profiles
character vector
The names of Quality of Service (QoS) libraries and profiles.
Example: BuiltInQosLibrary, Event, DataReaderQoS
QoS Type
— Specifies the type of QoS profile
character vector
The QoS Type is a read-only field that shows if a QoS profile is specified for DataReaders or DataWriters.
Example: DataReaderQoS