Trouble launching MatlabR2010a-linux on Ubuntu 10.04 LTS

Asked by Frank Edwards

I have installed MatlabR2010a according to the instructions at https://help.ubuntu.com/community/MATLAB.

Specifically:

sudo mkdir /usr/local/matlabR2010a

cd /usr/local/matlabR2010a/

sudo sh /media/MATHWORKS_R2010A/install

mkdir ~/.matlab

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

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

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

All seemed to go smoothly and relevant looking files and directories seem to exist.

However, when I try to launch Matlab via Applications -> Programming -> MATLAB R2010a it won't start. Instead I get the error message:

Could not launch 'MATLAB R2010a'
Failed to execute child process "matlab" (No such file or directory)

I must have done or failed to do something blatant, but I don't know what.

Can somebody help me with this, please?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

You didn't add the matlab folder to your path. Once you do that it will work

Revision history for this message
Frank Edwards (frank-edwards) said :
#2

Thank you, actionparsnip. I added an 'export PATH' line to ~/.profile and the error disappeared.

On to the next hurdle.