preload
出错示例:
Invalid MEX-file
‘*/caffe/matlab/+caffe/private/caffe_.mexa64’:
/usr/local/MATLAB/R2012a/bin/glnxa64/libstdc++.so.6:
version `GLIBCXX_3.4.15’ not found (required by
*/caffe/matlab/+caffe/private/caffe_.mexa64)
libstdc++.so.6 GLIBCXX_3.4.15
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
libharfbuzz.so.0 FT_Face_GetCharVariantIndex
/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
export LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19:/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0'
matlab
.matlab权限
Unable to create com.mathworks.mde.explorer.Explorer
sudo chmod a+w -R ~/.matlab