DDS Real-Time Communication Plugin TWRT Documentation

To install for simulation


  1. Install Matlab with Simulink
  2. Install RTI DDS Blockset by following the instructions in the installation guide video
  3. According to OS do the following:
     - Windows: Add <rti_connext_dds_installation_folder>\lib\x64Win64VS2017\ to PATH
     - macOS:
           a. Install Xcode Command Line Tools with xcode-select --install
           b. Configure environment variables by updating the following section of /Applications/MATLAB_R2019a.app/Contents/Info.plist:

   <key>LSEnvironment</key>
    <dict>
        <key>MATLAB_USE_USERWORK</key>
        <string>1</string>
        <key>NDDSHOME</key>
        <string>/Applications/rti_connext_dds-5.3.1</string>
        <key>RTI_LICENSE_FILE</key>
        <string>/Applications/rti_connext_dds-5.3.1/rti_license.dat</string>
        <key>RTI_LD_LIBRARY_PATH</key>
        <string>/Applications/rti_connext_dds-5.3.1/lib/x64Darwin17clang9.0</string>
        <key>DEVELOPER_DIR</key>
        <string>/Library/Developer/CommandLineTools</string>
    </dict>

If you are using RTI Connext 6.0.0, use rti_connext_dds-6.0.0 in the above script.

                   c. Notify macOS about the Info.plist change: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/MATLAB_R2019a.app/
                   d. Start Matlab
                   e. Run DDS.Rpath.add


  • No labels