I have created a number of mex files using Microsoft Visual C++ 2008 Express and R2010a. These are all saved in C:\Program Files\MATLAB\R2010a\CEtools which has been added to the path. I then receive the following error message:
??? Error using ==> diagmult Function "mxGetIr_700" is obsolete in file ".\compat32.cpp", line 264. (64-bit mex files using sparse matrices must be rebuilt with the "-largeArrayDims" option. See the R2006b release notes for more details.)
diagmult is one of my C files that has been compiled to the following forms: diagmult.mexa64 diagmult.mexmaci64
I then call
mex -largeArrayDims diagmult.c
and get
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: 'diagmult.c' not found.
Is diagmult my problem .c file? If so where is MEX.PL looking for this file?
Thanks
Charles
Best Answer