Revision 40 as of 2009-05-03 23:12:56

Clear message

Tag/tag.png

Content Cleanup Required
This article should be cleaned-up to follow the content standards in the Wiki Guide. More info...

Parent page: Programming Applications

Consider using Octave instead, which is Free Software.

MATLAB R2009a Installation Instructions

These are very preliminary instructions. The will be improved in the next few days. You will need superuser privileges. Right now the assumption is that MATLAB install files are in ~/R2009a.

1. Create the directory MATLAB will be installed to. It is recommended that you use /usr/local/matlabR2009a

sudo mkdir /usr/local/matlabR2009a

2. Change you working directory to the directory MATLAB will be installed to

cd /usr/local/matlabR2009a/

3. Run the MATLAB installer

sudo sh ~/R2009a/install 

DO NOT START MATLAB AT THE END OF PRODUCT ACTIVATION

4. Run MATLAB's post installation script

sudo /usr/local/matlabR2009a/install_matlab

Create A MATLAB Launcher

1. Get an icon:

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png

2. Get the launcher file:

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab.desktop' -O /usr/share/applications/matlab.desktop

Possible Problem

When you launch your MATLAB Desktop you might see an error message similar to the following:

The desktop configuration was not saved successfully
Cannot write to preference file "matlab.prf" in "/home/username/.matlab/R2009a".
Check file permissions.

You can resolve this by exiting all instances of MATLAB and issuing the following command in your terminal:

sudo chown -R ${USER}:${USER} ~/.matlab

External Links

For more information about MATLAB see the following links


CategoryScience