Matlab 2017b not launching in Ubuntu

2 views (last 30 days)
James Gillan
James Gillan on 22 Sep 2017
Commented: Leandro Santana on 2 Feb 2018
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
I have this precice problem too. Running Ubuntu as a VM in vmware, if that helps. I'm on Ubuntu 17.10.

Sign in to comment.

Answers (1)

Knut Sindre Åbjørsbråten
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
Leandro Santana
Leandro Santana on 2 Feb 2018
Thank you so much! Solved my problem on Kubuntu 17.10!

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!