Posts

Showing posts with the label crash

Matlab crashes after startup on Linux

Image
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: