Invalid MEX-file, invalid win32 application

14 次查看(过去 30 天)
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,

回答(4 个)

James Tursa
James Tursa 2012-1-20
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.

JEREMIE
JEREMIE 2012-1-23
Thanks James,
It could be this reason but it's working using the same mexw32 library on other PC with Matlab 2010b. It seems like an external problem of Matlab...

Andreas Goser
Andreas Goser 2012-1-23
It might be releated to the architecture. MEXW32 is for Windows 32 Bit. Maybe you use a Win XP for 64 Bit.

JEREMIE
JEREMIE 2012-1-23
Thanks Andreas but I'm using a Windows 32 Bit...

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by