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

1 visualizzazione (ultimi 30 giorni)
Ziv
Ziv il 27 Ago 2014
Commentato: Ziv il 27 Ago 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?

Risposte (1)

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

Accedi per commentare.

Categorie

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by