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

8 ビュー (過去 30 日間)
Ziv
Ziv 2014 年 8 月 27 日
コメント済み: Ziv 2014 年 8 月 27 日
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?

回答 (1 件)

AJ von Alt
AJ von Alt 2014 年 8 月 27 日
Mex files can be version dependent. Did you generate the MEX file using MATLAB R2014a?
  1 件のコメント
Ziv
Ziv 2014 年 8 月 27 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by