Cannot run Matlab Student on Linux Mint

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 ExchangeIntroduction 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