To use MATLAB® on 32-bit and 64-bit (tested with Ubuntu) versions of Linux


  1. Install MATLAB® (Assume that your MATLAB installation directory is /home/username/ MATHWORKS_R2011A).
  2. Make sure that C Shell has already been installed on your Linux. To install C Shell on Ubuntu, type the following command in the terminal
     ~$ sudo apt-get install csh 

  3. Create a link to the MATLAB® executable file in /usr/bin if it does not exist, and type the following commands in the terminal
     ~$ sudo -i 
     ~$ cd /usr/bin 
     ~$ ln -s /home/username/MATHWORKS_R2011A/bin/matlab matlab

  4. Use a text editor to open the magicdraw file in the bin folder in the MagicDraw installation directory. Type the following text under the line that contains cd"$APP_HOME" to add the MATLAB® bin folder to LD_LIBRARY_PATH of Java and save the magicdraw file.


LD_LIBRARY_PATH added to the MagicDraw file.