To build and compile an executable with DDS Blockset that conforms to the RTI Connext DDS API, you must have RTI Connext or RTI Connext Micro installed. You can either: - Install RTI Connext using the RTI Toolbox, or
- Use your existing RTI Connext Professional installation.
Install RTI Connext Using the RTI Toolbox
To install a demo version of RTI Connext that is compatible with your version of DDS Blockset, you can download and install the "RTI Connext(r) DDS connectivity framework for DDS Blockset". See the RTI Toolbox File Exchange page for details:
In R2023a and later, you can access the RTI Toolbox from Add-On Explorer within MATLAB. For R2021a through R2022b, use the file linked from the page above.
After finishing the installation of RTI Toolbox, make sure to follow the instructions from the "Getting Started" Guide which can be found here:
C:\Users\username\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\RTI Connext for DDS Blockset\doc\GettingStarted.mlx
Most importantly, run the following command once to configure the NDDSHOME environment variable, and restart MATLAB:
>> configure_rti_connext_dds()
Use an Existing Installation of RTI Connect with DDS Blockset
If you already have an installation of RTI Connext Professional, you don’t need to install the RTI toolbox, but you will need to (1) ensure that your version of RTI Connect is compatible with your version of DDS Blockset and (2) define the NDDSHOME environment variable.
For your convenience, the supported RTI versions per DDS Blockset release are summarized below:
- Since R2023a: RTI Connext 6.1.0+ or RTI Connext Micro 2.0.0+
- R2022a & R2022b: RTI Connext 6.0.1+ or RTI Connext Micro 2.0.0+
- R2021b: RTI Connext 6.0.1+
- R2021a: RTI Connext 6.0.0+
To define the NDDSHOME variable, refer to the RTI Toolbox page which has details on the different options for setting the NDDSHOME variable.
Additional Note: