解决matlab2022b下simulink无法启动的问题

1、提示错误如下:

  matlab.internal.cef.webwindow MATLABWindow 应用程序未能启动。Unable to launch the MATLABWindow application. The exit code was: 1

2、还是老办法,到$MATLABHOME目录下的执行

  bin/MATLABWindow

  我这里结果是: ./MATLABWindow:  libtiff.so.5: version `LIBTIFF_4.0' not found (required by /usr/lib/libgdk_pixbuf-2.0.so.0)

  可以明显看出是libtiff库有了问题

3、解决办法,显示安装软件:

  sudo pacman -S libtiff4

  安装完成后,还是不行

4、那就还是将有问题的库有关的所有文件移动到

  cd  /opt/Polyspace/MR2022b/bin/glnxa64/            切换到库有问题的目录

  ls -l | grep libtiff                查看有问题的库文件及其相关的文件,总共又三个

  -r--r--r-- 1 root root 1145 7月26日 01:57 libtiff.rights
  lrwxrwxrwx 1 root root 16 7月26日 01:57 libtiff.so.5 -> libtiff.so.5.8.0
  -r-xr-xr-x 1 root root 730792 7月26日 01:57 libtiff.so.5.8.0

  sudo mv libtiff.*  exclude/                                      将以上三个文件移动到exclude目录即可

5、好像解决了问题了

   

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