I am able to compile my MEX file (myMexFile.c) present in the current working directory successfully using the MEX command.
However when I attempt to compile the same MEX file after moving it to a different location on my system using the following command:
mex myMexFile.c
I receive the following error message:
C:\PROGRA~2\MATLAB\R2007B\BIN\MEX.PL: Error: 'myMexFile.c' not found. ??? Error using ==> mex at 208 Unable to complete successfully.
Best Answer