Problem in calling a .mexw64 function in a .m file

14 ビュー (過去 30 日間)
i Venky
i Venky 2013 年 2 月 1 日
コメント済み: Rupeng Wang 2020 年 10 月 28 日
I have a .m file. Here I was calling the .mexw64 file. Both .m file and .mexw64 file are in the same directory. But the compiler says
"??? Invalid MEX-file 'F:\Main project\Ultrasound\Field II\Matlab codes\Mat_field.mexw64': The specified module could not be found."
where "Mat_field.mexw64" is the function.
What could be my problem?
Thanks in advance
  1 件のコメント
Rupeng Wang
Rupeng Wang 2020 年 10 月 28 日
I meet the same issue. Have you solve it ?

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

採用された回答

Jan
Jan 2013 年 2 月 1 日
編集済み: Jan 2013 年 2 月 1 日
The Dependency walker will most likely show, that you did not install the runtime libraries of the compiler, which has created the MEX file. I guess, that you have to download the VCREDIST package for e.g. MSVC2008 or 2010.
  1 件のコメント
i Venky
i Venky 2013 年 2 月 1 日
Thanks. Downloaded MSVC2010 and it's working perfectly

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

その他の回答 (0 件)

カテゴリ

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