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

2 views (last 30 days)
Ziv
Ziv on 27 Aug 2014
Commented: Ziv on 27 Aug 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?

Answers (1)

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

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!