From: Yue on
Hi,

I am using mex to comiple a C module (EXTRACTF.c) and it is working fine when I call it from my matlab program under matlab environment. However, when I use MCC to compile this Matlab program to an exe file, if I run this exe file, I always receive below message:

Invalid MEX-file 'C:\test\toolbox\mexw32\EXTRACTF.mexw32':The specified module could not be found.

I check the folder and the MEX file do exist there. I am no idea why such case happened and do not know how to solve it.

Appreciate it if anyone can help. Thanks.

Wang