Linux MATLAB Simulink或Add-Ons無響應解決方法
阿新 • • 發佈:2018-11-06
具體執行步驟
在matlab命令列輸入
>> cd(matlabroot) >> cd bin/glnxa64 >> !./MATLABWindow -url=http://mathworks.com --disable-gpu
若出現報錯
./MATLABWindow: symbol lookup error: _somelibrary_: undefined symbol: g_log_structured_standard
其中的_somelibrary_可能是任何庫檔案。不過無論是哪種,需要移除matlab的libglib-2.0.so相關庫,使得matlab能夠呼叫系統庫
方法可以如下(第一步的路徑對應matlab安裝路徑)
# 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)
然後再執行第一步禁用GPU即可