MATLAB Answers

Matlab on Ubuntu 14.04

5 ビュー (過去 30 日間)
LM 2016 年 5 月 19 日
コメント済み: LM 2016 年 5 月 20 日
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..."

回答 (2 件)

Steven Lord
Steven Lord 2016 年 5 月 19 日
Does that folder exist already?
Do you have write permission to that folder?
  1 件のコメント
LM 2016 年 5 月 20 日
I figured it out. I had to use the gksu command because sudo wasn't working.


Todd Leonhardt
Todd Leonhardt 2016 年 5 月 19 日
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 件のコメント
LM 2016 年 5 月 20 日
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.


Community Treasure Hunt

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

Start Hunting!

Translated by