美文网首页
Ubuntu 16.04下Matlab 2015b:解决“ MA

Ubuntu 16.04下Matlab 2015b:解决“ MA

作者: 姚远_HIT | 来源:发表于2019-04-23 10:31 被阅读0次

前言

今天早上使用服务器上的Matlab时出现“MATLAB has encountered an internal problem and needs to close.”,依稀记得自己以前遇见过,但是却忘记了解决方案!!!在网上查找了一段时间,终于找到了一篇解决方案,遂顺手记录一下,希望可以帮助到同样遇到此问题的小伙伴以及方便自己下次遇见时快速解决。

问题

Ubuntu下Matlab出现“MATLAB has encountered an internal problem and needs to close.”


MATLAB has encountered an internal problem and needs to close.

解决方案

出现此问题的原因在于Ubuntu系统使用的libstdc++.so.6比Matlab默认使用的库版本高,因此只需强制Matlab使用Ubuntu系统默认使用的库即可。

1、将Matlab安装目录下的sys/os/glnxa64目录

cd /usr/local/MATLAB/R2015b/sys/os/glnxa64/

其中,上面是我系统的Matlab目录,读者可以根据自己电脑的实际情况进行相应调整。

2、 将sys/os/glnxa64目录下的libstdc++.so.6改为libstdc++.so.6.old

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

参考贴

[1] 关于Matlab不能启动的问题:matlab has encountered an internal problem and needs to close

相关文章

网友评论

      本文标题:Ubuntu 16.04下Matlab 2015b:解决“ MA

      本文链接:https://www.haomeiwen.com/subject/rvmmgqtx.html