Matlab 2017b not launching in Ubuntu
2 views (last 30 days)
Show older comments
I am trying to run Matlab 2017b on a server running Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-79-generic x86_64).
I am remoting into the server using ssh and X11-forwarding with a Mac.
Installation worked fine, but now when I try to launch I get the following error:
>> /usr/local/MATLAB/R2017b/bin/matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
I've searched around the forums and installed several recommended packages, but I can't seem to get it to launch.
Please let me know if there's a fix. Thanks!
1 Comment
Knut Sindre Åbjørsbråten
on 24 Oct 2017
I have this precice problem too. Running Ubuntu as a VM in vmware, if that helps. I'm on Ubuntu 17.10.
Answers (1)
Knut Sindre Åbjørsbråten
on 7 Nov 2017
James, I was also struggling with this. The answer for Matlab 2017a on Ubuntu 17.10 was solution #2 here :
In short ( you should probably run the test on the link above first ):
# cd /usr/local/MATLAB/R2017b (or wherever you may have installed MATLAB)
# cd cefclient/sys/os/glnxa64 (or whichever directory is indicated in above table)
# mkdir exclude
# mv libglib-2.0.so* exclude/ (or whichever library is indicated in above table)
1 Comment
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!