Invalid MEX-file, invalid win32 application
5 views (last 30 days)
Show older comments
Hi everybody,
I'm trying to use a function which called a mexw32 library but this error appear :
"Invalid MEX-file, 'C:\Program Files\...\...\*.mexw32' n'est pas une application Win32 valide"
Is anybody already met this type of error ?
My environment is : Windows XP, Matlab 2010b.
Thanks,
0 Comments
Answers (4)
James Tursa
on 20 Jan 2012
This message can result when a mex routine is compiled with one version of MATLAB and then used on a different version of MATLAB. The solution is generally to recompile the mex routine using the MATLAB version that you intend to run it on.
0 Comments
Andreas Goser
on 23 Jan 2012
It might be releated to the architecture. MEXW32 is for Windows 32 Bit. Maybe you use a Win XP for 64 Bit.
0 Comments
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!