I have a MEX-file that was compiled in MATLAB 5.3 (R11) on a Windows platform. The MEX-file runs correctly in this release.
When I try to run it in MATLAB 7.4 (R2007a), I receive the following error message:
??? Invalid MEX-file 'c:\work\timestwo.dll': The specified procedure could not be found.
MATLAB R2007b and later (currently up to R2008b) show a different error message:
??? Invalid MEX-file 'c:\work\timestwo.dll': c:\work\timestwo.dll is not a valid Win32 application.
Best Answer