Azzera filtri
Azzera filtri

Invalid MEX-file, invalid win32 application

14 visualizzazioni (ultimi 30 giorni)
JEREMIE
JEREMIE il 20 Gen 2012
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,

Risposte (4)

James Tursa
James Tursa il 20 Gen 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.

JEREMIE
JEREMIE il 23 Gen 2012
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 il 23 Gen 2012
It might be releated to the architecture. MEXW32 is for Windows 32 Bit. Maybe you use a Win XP for 64 Bit.

JEREMIE
JEREMIE il 23 Gen 2012
Thanks Andreas but I'm using a Windows 32 Bit...

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by