Matlab-Ubuntu 2018b-Unable to launch the MATLABWindow application的解决方案

问题阐述
今天在Ubuntu18.04LTS上运行之前建好的simulink的仿真时,只听见duangduang两声报错声,命令行报错了:

simulink
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application

解决方案

>> cd(matlabroot)
>> ! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory 

那么,你应该在Ubuntu 18.04的终端上输入

 sudo apt-get install libgconf-2-4

情况2:
如果命令行显示:

bin/glnxa64/MATLABWindow: symbol lookup error: _somelibrary_: undefined symbol: g_log_structured

或者显示:

 bin/glnxa64/MATLABWindow: symbol lookup error: _somelibrary_: undefined symbol: g_log_structured_standard

这两种是libglib-2.0.so 出了问题

显示:

bin/glnxa64/MATLABWindow: symbol lookup error: _somelibrary_: undefined symbol: FT_Get_Var_Blend_Coordinates

或者显示:

bin/glnxa64/MATLABWindow: symbol lookup error: _somelibrary_: undefined symbol: FT_Done_MM_Var

这两种是libfreetype.so.6出了问题

或者显示:

bin/glnxa64/MATLABWindow: path to/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by _somelibrary_)

这种是libstdc++.so.6出了问题

解决方案
# cd /usr/local/MATLAB/R2017b   (or wherever you may have installed MATLAB)
# cd cefclient/sys/os/glnxa64   (or whichever directory is indicated in above table)
# mkdir exclude
# mv libglib-2.0.so* exclude/   (or whichever library is indicated in above table)
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值