且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Linux上的matlab无法绘制任何内容(无法加载libstdc ++.so.6:找不到版本"CXXABI_1.3.8")

更新时间:2023-10-17 10:48:58

我所做的是编辑了一个名为.matlab7rc.sh的文件(位于"path_to_ matlab/bin"文件夹中,并且已隐藏),并且取消注释了所有(有几个):

What I did was I edited a file called .matlab7rc.sh (located in "path_to_ matlab/bin" folder and its hidden) and uncommented all lines that were(there are several of them):

LDPATH_PREFIX='$MATLAB/sys/opengl/lib/$ARCH'

以下内容在文件中用于注释此行

The following is stated in the file for uncommenting this line(s)

要始终使用MATLAB随附的OpenGL库,请取消注释下一个 线.

To always use the OpenGL libraries shipped with MATLAB uncomment the next line.

尽管确实可以解决问题,但我很好奇使用MATLAB随附的OpenGL是否会降低性能,并且总的来说,这种方法与@joe_st_amand的答案相比如何.

Although it certainly did the trick I'm curious whether using OpenGL that was shipped with MATLAB degrades the performance and in general how does this approach compares to @joe_st_amand's answer.