Matlab: Fix Ubuntu 16.04 crash on startup

Matlab R2016a, R2015b, and older may crash upon startup due to an out of date libstdc++ in sys/os/glnxa64. You can work around this issue with these commands:

cd $(dirname $(realpath $(which matlab)))/../sys/os/glnxa64/

mv libstdc++.so.6 libstdc++.so.6.old

Please take the time to vote “yes” at the official Matlab bug report on this issue.

Note: Unlike what I read on the Internet forums, matlab -softwareopengl did not help, nor did disabling the Nvidia driver.

Categories:

Updated:

Leave a Comment