Effacer les filtres
Effacer les filtres

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

5 vues (au cours des 30 derniers jours)
i Venky
i Venky le 1 Fév 2013
Commenté : Rupeng Wang le 28 Oct 2020
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 commentaire
Rupeng Wang
Rupeng Wang le 28 Oct 2020
I meet the same issue. Have you solve it ?

Connectez-vous pour commenter.

Réponse acceptée

Jan
Jan le 1 Fév 2013
Modifié(e) : Jan le 1 Fév 2013
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 commentaire
i Venky
i Venky le 1 Fév 2013
Thanks. Downloaded MSVC2010 and it's working perfectly

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) 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