I am new to TORTOISE and would like to use it within scripts written in Matlab. I have installed the toolbox to successfully use through the terminal, however, when I run it through Matlab using the command
I get the following error:
dyld: Library not loaded: /usr/local/opt/llvm/lib/libomp.dylib
Referenced from: ... /TORTOISE_V3.2.0/DIFFPREPV320/bin/bin/DIFFPREP
Reason: image not found
I am unclear on how to address this so any assistance would be very welcome.
It looks like you are running it in MACOSX.
The environmental DYLD_LIBRARY_PATH variable is not translated into matlab.
You should check your .cshrc, .bashrc and .bash_profile files and make sure that the PATH variables for TORTOISE is set at the end of those.
IF they are there and it still doesnt work, you should set the path variable within matlab with a command like:
setenv('DYLD_LIBRARY_PATH'', [getenv('DYLD_LIBRARY_PATH') ';YOUR_TORTOISE_INSTALLATION_FOLDER/DRBUDDIV314/bin']);
Hope this helps.