Matlab on Ubuntu 14.04

I am downloading matlab onto my new computer and keep getting an error message with the folder selection part. I want to use default /usr/local/MATLAB/R2016a but every time I click next it pops up with a message "Failed to create folder..."

Réponses (2)

Steven Lord
Steven Lord le 19 Mai 2016

0 votes

Does that folder exist already?
Do you have write permission to that folder?

1 commentaire

LM
LM le 20 Mai 2016
I figured it out. I had to use the gksu command because sudo wasn't working.

Connectez-vous pour commenter.

Todd Leonhardt
Todd Leonhardt le 19 Mai 2016

0 votes

On Ubuntu you need sudo privileges to write to /usr. So either preface the install script with sudo or install to a directory within your home directory.
NOTE: If you are using a per-user license, it may be a good idea to install in your home directory anyways. But if you are using a node-locked license, then you really should use sudo (or get someone with that permission to do so), to install in the default location.

1 commentaire

LM
LM le 20 Mai 2016
I figured it out! The sudo command wasn't working, I should have mentioned that in my question, I had to use the gksu command. Apparently this is a fairly common problem.

Connectez-vous pour commenter.

Catégories

Question posée :

LM
le 19 Mai 2016

Commenté :

LM
le 20 Mai 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by