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

2 vues (au cours des 30 derniers jours)
Ziv
Ziv le 27 Août 2014
Commenté : Ziv le 27 Août 2014
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?

Réponses (1)

AJ von Alt
AJ von Alt le 27 Août 2014
Mex files can be version dependent. Did you generate the MEX file using MATLAB R2014a?
  1 commentaire
Ziv
Ziv le 27 Août 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by