I have a 64-bit machine and a 64-bit compiler (Microsoft Visual C++ 2008, Professional Edition). The command
mex -setup
locates the compiler and allows me to successfully select this compiler. However, when I execute an example such as:
mex yprime.c
I receive the following error:
LINK : fatal error LNK1104: cannot open file 'C:\DOCUME~1\WEBERJE\LOCAL' C:\PROGRA~1\MATLAB\R2008B\BIN\MEX.PL: Error: Link of 'yprime.mexw64' failed. !!!: mex -v yprime.c failed!
Best Answer