Matlab 2017b not launching in Ubuntu

1 visualizzazione (ultimi 30 giorni)
James Gillan
James Gillan il 22 Set 2017
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 Commento
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.

Accedi per commentare.

Risposte (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)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by