我正在尝试在mac中使用matlab 2917b。在运行时显示
/Users/laxmikadariya/Documents/MATLAB/pmtk3-master/pmtksupportCopy/markSchmidt-9march2011/markSchmidt/minFunc/lbfgsC.mexmaci64':
dlopen(/Users/laxmikadariya/Documents/MATLAB/pmtk3-master/pmtksupportCopy/markSchmidt-9march2011/markSchmidt/minFunc/lbfgsC.mexmaci64,
6): Library not loaded: @loader_path/libmex.dylib
Referenced from:
/Users/laxmikadariya/Documents/MATLAB/pmtk3-master/pmtksupportCopy/markSchmidt-9march2011/markSchmidt/minFunc/lbfgsC.mexmaci64
Reason: image not found.
似乎找不到库的路径。图书馆位于 /Users/laxmikadariya/Desktop/matlab/MATLAB_R2017b.app/bin/maci64
然而将.bashrc_profile中的DYLD_LIBRARY_PATH设置为
export DYLD_LIBRARY_PATH='/Users/laxmikadariya/Desktop/matlab/MATLAB_R2017b.app/bin/maci64:/Users/laxmikadariya/Desktop/matlab/MATLAB_R2017b.app/sys/os/maci64':$DYLD_LIBRARY_PATH
无效。
如何在较新的mac?
中设置路径