Matlab 2017b not launching in Ubuntu

조회 수: 2 (최근 30일)
James Gillan
James Gillan 2017년 9월 22일
댓글: Leandro Santana 2018년 2월 2일
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
Knut Sindre Åbjørsbråten 2017년 10월 24일
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
Knut Sindre Åbjørsbråten 2017년 11월 7일
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
Leandro Santana
Leandro Santana 2018년 2월 2일
Thank you so much! Solved my problem on Kubuntu 17.10!

댓글을 달려면 로그인하십시오.

카테고리

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