manjaro下安装matlab R2022 无法打开simulink报错:Can't reload '/xx/xx/xx/libmwdastudio.so

Can't reload'/xx/xx/xx/libmwdastudio.so
The reason for the problem: Matlab cannot load the font to display $ MATLAB / bin / glnxa64 / libfreetype.so.6;
Solution: Solve by creating an'exclude' folder in $MATLAB/bin/glnxa64/ and moving libfreetype.so

问题出现的原因:Matlab无法加载字体显示$ MATLAB / bin / glnxa64 / libfreetype.so.6 ;

解决方法:通过在$ MATLAB / bin / glnxa64 /中创建一个'exclude'文件夹并移动libfreetype.so来解决

具体方法:

1、cd /usr/local/MATLAB/R2022a/bin/glnxa64 

  ls -l | grep libfreetype

2、sudo mkdir exclude 

3、mv libfreetype* exclude/

4、cd ../../sys/os/glnxa64/

5、mkdir exclude

6、mv libstdc++.so.6* exclude/

但是,出现了显示错误,

20221215实践发现,在matalab 2022a下,执行前三步即可解决:Failed to load bundle #858: /opt/Polyspace/R2022a/bin/glnxa64/libmwdastudio.so错误

posted @ 2022-10-12 17:28  叕叒双又  阅读(521)  评论(0编辑  收藏  举报