Page History
Matlab Installation (or Upgrade)
The Matlab Package Manager (mpm) can be used to install Matlab on a NUC via the command line. An exemplary bash script to remove current versions and install a new one follows.
#!/bin/bash
cd /tmp
# remove installed versions if present
rm -rf /usr/local/MATLAB/R2020a/
rm -rf /usr/local/MATLAB/R2022a/
rm -rf /opt/MATLAB/R2020a/
rm -rf /opt/MATLAB
# get mpm
wget -q https://www.mathworks.com/mpm/glnxa64/mpm
chmod +x mpm
# install release and toolboxes
MATLAB_RELEASE=r2023a
TOOLBOXES="Parallel_Computing_Toolbox ROS_Toolbox Statistics_and_Machine_Learning_Toolbox Symbolic_Math_Toolbox"
./mpm install --release=$MATLAB_RELEASE --destination=/usr/local/MATLAB/R2023a/ --products MATLAB $TOOLBOXES
# symbolic link
ln -sf /usr/local/MATLAB/R2023a/bin/matlab /usr/local/bin/matlabR2023a
# remove mpm
rm -f mpm /tmp/mathworks_root.log
Network Setup
Matlab is set up on the NUCs using a network license using this guide. We currently use the Matlab 2020a version2023a version.
If an existing installation with license is present on a NUC, simply copying the licenses
folder in the installation directory (e.g. /usr/local/MATLAB/R2023a/licenses
) to the new installation folder suffices.
DDS Setup
You can find all information required to set up RTI DDS in Matlab here: https://www.mathworks.com/hardware-support/rti-dds.html.
...
Overview
Content Tools