Matlab on Ubuntu 14.04

2 次查看(过去 30 天)
LM
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
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
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by