Installing MATLAB in Linux

Installation Instructions

  1. Download desired ZIP file from Mathworks

  2. Open a terminal in the Downloads folder and extract the ZIP file to a new folder using: unzip -X -K <zip name> -d <new folder name>

  3. Open a terminal in the new folder and run: sudo ./install

  4. Follow the installer prompts

    1. Just install MATLAB; wait to install the add-ons

    2. Check the box to create symbolic registries

  5. Verify your installation by running MATLAB from the terminal: /usr/local/MATLAB/<version number>/bin/matlab DO NOT run from root

  6. Install the MATLAB support app from the terminal to create a task manager icon for MATLAB: sudo apt-get install matlabsupport

    1. Give the location of the matlab file from Step 5

Connecting the DynamixelSDK to MATLAB

  1. Run in terminal: sudo chmod 666 /usr/local/MATLAB/<version>/toolbox/local/pathdef.m

  2. During the step where you add the folders, check the "save path for future sessions" box before closing the window.

Known Problems

MATLAB will not start from terminal due to being "unable to launch MVM server"

  1. Go to ~/.MathWorks/ServiceHost/-mw_shared_installs/<version name>/mci/bin/glnxa64

    1. /.MathWorks is a hidden folder

  2. Run InstallMathWorksServiceHost

    1. You may need to run it as root

Last updated

Was this helpful?