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

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

from: can't read /var/mail/ in Python scripts

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04