You can find all information required to set up RTI DDS in Matlab here: https://www.mathworks.com/hardware-support/rti-dds.html.
To use RTI DDS Support, you must have RTI DDS installed on your system. If that is not the case, please refer to rtiddsbasics.md for further information.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
/home/controller/Documents/Remote/Libs:
/home/controller/rti_connext_dds-5.3.1/lib/x64Linux3gcc5.4.0
PATH=$PATH:
$HOME/bin:
$HOME/.local/bin:
/home/controller/rti_connext_dds-5.3.1:
/home/controller/rti_connext_dds-5.3.1/bin:
/home/controller/rti_connext_dds-5.3.1/lib/x64Linux3gcc5.4.0:
$HOME/rti_connext_dds-5.3.1/bin:
$HOME/Documents/raspbian-toolchain-gcc-4.7.2-linux64/bin
NDDSHOME=$HOME/rti_connext_dds-5.3.1
RTI_LICENSE_FILE=$HOME/rti_connext_dds-5.3.1/rti_license.dat
Your installation paths might be different, so you might need to change some of them.