I've used this for a few years and find it works very well. I'm trying now to compile it on a Mac running OS 10.7.5
I'm using the command
mex -I/usr/include/ -lMLi3 math.c
if: Expression Syntax.
ld: library not found for -lMLi3
collect2: ld returned 1 exit status
mex: link of ' "math.mexmaci64"' failed.
The library file is definitely in the directory I'm specifying. I see a note in the README that the library path needs to be on the (DY)LD_LIBRARY_PATH - could this be the problem? Any advice would be appreciated
I have the same problem when trying to install the packet. I am using Matlab2011b (64bit), Mathematica, 8.0 Windows 7. When I run "mex - setup" from Matlab, it shows
C:\PROGRA~1\MATLAB\2011B\BIN\MEX.PL: Error: '–setup' not found.
Error using mex (line 206)
Unable to complete successfully.
I appreciate very much if anyone can help.
I have troubles with installing this toolbox. After choosing Microsoft Visual C/C++, Mex-setup gives me an error:
MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]
Use the -help option for more information, or consult the MATLAB API Guide.
C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: No file names given.
Undefined function or variable 'setup'.
I have no idea what I'm doing wrong, so if anyone can help me I'll be really grateful. Thanks.