I am trying to use matlab 2917b in mac . while running it shows
/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.
it seems that the path of the library is not found. The library is located at /Users/laxmikadariya/Desktop/matlab/MATLAB_R2017b.app/bin/maci64
however setting DYLD_LIBRARY_PATH in .bashrc_profile as
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
is not working.
how can i set the path in newer mac??