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

4 个评论

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
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?
You probably do need sudo to install.
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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by