I would like to call a Matlab function from within Comsol, and run across the error:
Failed to load library.
- Error: dlopen(/Applications/COMSOL41/lib/maci64/flmatlab.dylib, 5): Library not loaded: @loader_path/libeng.dylib
Referenced from: /Applications/COMSOL41/lib/maci64/flmatlab.dylib
Reason: image not found
I have the library on my computer (a Mac) in /Applications/MATLAB_R2011b.app/bin/maci64/libeng.dylib , but do not know how to check or set @loader_path.
As a simple example of how to get this error is to write a Matlab function:
function output=disp(x)
output=x;
and insert it into Comsol as a displacement boundary condition.
Any ideas?
Teresa
Failed to load library.
- Error: dlopen(/Applications/COMSOL41/lib/maci64/flmatlab.dylib, 5): Library not loaded: @loader_path/libeng.dylib
Referenced from: /Applications/COMSOL41/lib/maci64/flmatlab.dylib
Reason: image not found
I have the library on my computer (a Mac) in /Applications/MATLAB_R2011b.app/bin/maci64/libeng.dylib , but do not know how to check or set @loader_path.
As a simple example of how to get this error is to write a Matlab function:
function output=disp(x)
output=x;
and insert it into Comsol as a displacement boundary condition.
Any ideas?
Teresa