Invalid MEX-file error in R2014a(32-bit)

During the m-script execution in matlab R2014a (32-bit) i'm getting the following error: 'Invalid MEX-file 'C:\...\MyFunction.mexw32': The specified procedure could not be found.'
The same mex file is running ok in R2012b (32-bit) / R2013b (32-bit) on the same PC.
The mex file is compiled in Visual studio 2008. Mex compilation in VS2012 provides the same resuls.
The Dependency Walker doesn't show any missing DLL's.
What can be a problem?

Respuestas (1)

AJ von Alt
AJ von Alt el 27 de Ag. de 2014

0 votos

Mex files can be version dependent. Did you generate the MEX file using MATLAB R2014a?

1 comentario

Ziv
Ziv el 27 de Ag. de 2014
I generate the MEX file with Visual Studio 2008 using the matlab libraries for linker.
In case of mex generation for R2012b I use the matlab libraries of R2012b.
In case of mex generation for R2014a I use the matlab libraries of R2014a.

Iniciar sesión para comentar.

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Ziv
el 27 de Ag. de 2014

Comentada:

Ziv
el 27 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by