Matlab seems to install fine, but will not run in Ubuntu 14.04, no error message provided
36 views (last 30 days)
I've installed Matlab R2014a on Ubuntu 14.04 server (with ubuntu-desktop installed). Everything seemed to go fine with the installation - no errors were reported. When I try to run matlab from a terminal window, nothing happens. No error messages are reported. "top" reveals 0% CPU and 0.1% memory used by the MATLAB process. CTRL-C does not kill the process - I have to kill it manually with the kill command. Adding the -debug or -nojvm or -nodesktop arguments does not alter this behavior.
I know that 14.04 is not officially supported yet, but there are reports of it working out there. I'm kind of stuck with no information. Does anyone have any suggestions about what to try? Is there some way for me to get additional troubleshooting data?
BanzayCL on 21 Jul 2016
Nowadays on Ubuntu 16.04 you need to do both steps.
1) sudo apt-get install matlab-support
Then follow instructions.
2) Open a Terminal on your home folder and then "sudo chown username -R ~/.matlab"
Finally if you want full integration with your operating system , like being able to opening .m files directly by doing double click, you need to edit /usr/share/applications/matlab.desktop
Find "Exec=" line and replace with: Exec=matlab -desktop -r "cd %d"
Then you have matlab as an "Open With" application option.
Ibraim Ibraimi on 21 Apr 2019
I installed Matlab 2019a student on my Laptop using Ubuntu operating system. After the installation I used these commands to create a shortcut of matlab2019a (I copied them from a website):
sudo wget -qO /usr/share/icons/matlab.png goo.gl/NDyi9t
sudo wget -qO /usr/share/applications/matlab.desktop goo.gl/NaHXrn
What I then get is a shortcut 2012a. On the top of that, the matlab is not starting. I am wondering if different version has to do with a wrong installation or rather with a wrong shortcut. I also dont understand why it is not starting. Many thanks for your help.
Annas Mazhar on 2 Mar 2021
I am having trouble starting up matlab after installation nothing happens once i click on the icon. Can someone please help me out.
Gongting on 9 Sep 2016
Edited: Gongting on 9 Sep 2016
This is the first few results when I googled matlab ubuntu. The latest Matlab (2016a) has problem running on Ubuntu 16.04 or older, it halts immediately after start. Just to make life easier for people had this problem, I posted the solution here.
As someone has posted this on askubuntu, the problem is Matlab uses the old C library. You can force matlab to use the latest library by removing libstdc++.so.6. or rename it to something different.