Matlab 2017b not launching in Ubuntu

4 次查看(过去 30 天)
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 个评论
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.

请先登录,再进行评论。

回答(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)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by