Problems with MATLAB installation

Asked by Gabriel Santiago

Hey guys,

I am trying to install MATLAB R2010a (64 bits) on Ubuntu 10.04 LTS, and I am using the following tutorial:

https://help.ubuntu.com/community/MATLAB

Everything works fine, untill I reach the following command:

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

I get this error message:

chown: cannot access '/home/XXXX/.matlab': No such file or directory

Can anyone, ***please*** help me? What is going on? What can I do?
I am very new on Ubuntu and I really need to install this thing as soon as possible!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ricardo Moreno (ricardinho) said :
#1

Hi,
I think you only need to do that after you run matlab with root privileges. If you didn't then there is no need for you to run the command.
If you get the following message:
The desktop configuration was not saved successfully
Cannot write to preference file "matlab.prf" in "/home/username/.matlab/R2010a".
Check file permissions.

Then you need to run the command.
Hope this helps

Revision history for this message
Chinmay Rajhans (rajhanschinmay) said :
#2

Run
sudo chmod -R 777 ~/.matlab

and / or

Replace chris with ur usernameand run
sudo chown chris /home/chris/.matlab/R2008a/matlab.prf

One of the two or both when executed will remove your error.
Thank you.

Can you help with this problem?

Provide an answer of your own, or ask Gabriel Santiago for more information if necessary.

To post a message you must log in.