Matlab crashes after startup on Linux

After Matlab installation on Ubuntu 15.10,  you may have a problem running Matlab at startup:














One option is running without desktop version throught CLI with matlab -nodesktop
The best solution is fix libstc++ because Ubuntu include version 20 of libstdc++.so.6, which is newer than the version shipped with MATLAB.
When MATLAB loads older version first, Ubuntu reaches an incompatibility that causes MATLAB to crash.
To fix it, you need to remove de libstc++.so.6, or backup it for anything:
cd /usr/local/MATLAB/R2016a/sys/os/glnxa64
sudo mv libstdc++.so.6 libstdc++.so.6.bak

Now, retry to load matlab with desktop interface:



Comments

Post a Comment

Popular posts from this blog

Exception: Could not find a default OpenFlow controller in Mininet

How to fix Android when developer options are not available for this user

Webcam streaming throught VLC with YUY2 compatibility