I just purchased the student version of Matlab and installed & activated following the instructions from Matlab. However, I cannot run it either with sudo or without.
With sudo, there is the license error saying the user name is different, I figure out that it becomes 'root' so is different from the username of the license. Without sudo, I got stuck at the splashscreen and can never go to the Matlab window. I have to enter ctrl-Z to stop it running from the terminal.
I tried to install in both the home directory and the default /usr/local directory trying to avoid the issue with administrative privilege, but the result is the same (stuck at the splashscreen). I also tried the matlab-support package, still no luck.
Thanks in advance for replying.

 채택된 답변

bdcxns
bdcxns 2018년 5월 6일
편집: madhan ravi 2018년 11월 29일

0 개 추천

I found the answer here:
After adding the write permission by chmod a+w -R ~/.matlab, Matlab can start normally, without superuser privilege.

댓글 수: 4

Gaston Melo
Gaston Melo 2018년 9월 14일
Hi, im using linux mint 19 and I install matlab with sudo ./install on terminal. When I tried to start matlab with ./matlab it freeze with matlab logo. I tried with sudo ./matlab with the same freeze. I changed the owner of the matlab folder with the user name but have the same result. If I tried to run matlab with root user I get the licence error. What is the problem? IF i run matlab --nojvm it start matlab without problems. Thanks
bdcxns
bdcxns 2018년 11월 29일
Don't use sudo to install, or run, if Matlab asks for consistency between username and license.
Have you tried adding the write permission on Matlab preference folder?
Walter Roberson
Walter Roberson 2018년 11월 29일
You probably do need sudo to install.
bdcxns
bdcxns 2018년 11월 29일
if this is necessary then install in home directory and run without sudo as the student license only allow one user
I managed to solve this issue in this way

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2018년 5월 6일

편집:

2018년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by