matlab 2017a安装运行后一直报错
无法重新加载 '/usr/local/MATLAB/R2017a/bin/glnxa64/libmwhg.so'
解决方案如下
https://cn.mathworks.com/matlabcentral/answers/266515-can-t-reload-usr-local-matlab-res-2015b-bin-glnxa64-libmwosgserver-so
This issue may be related to a version conflict between system libraries and the libstdc++ version included with MATLAB. You may be able to resolve this issue by making MATLAB use your system's libstdc++ instead of the libstdc++ shipped with MATLAB. While you can accomplish this in the way described by Joseph above, there is a better way:
From a Linux shell (with appropriate permissions to make modifications in your MATLAB installation, i.e. use "sudo" if needed or work with your system administrator):
1. cd into your MATLAB sys/os/glnxa64 directory.
2. Create a new directory named "old":
mkdir old
3. Move libstdc++* into the old directory:
mv libstdc++* old
Now MATLAB no longer can find its own libstdc++ and it will automatically switch to working with your system's libstdc++.
之后就正常运行,也不报错了。
1. cd into your MATLAB sys/os/glnxa64 directory.
2.sudo mkdir old
3.sudo mv libstdc++* old