Matlab ≤ R2016a may crash upon startup due to an out of date libstdc++ in
Workaround 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.