Invalid -MEX file mexw64.

6 Ansichten (letzte 30 Tage)
Wangjin Jin
Wangjin Jin am 8 Apr. 2015
Bearbeitet: Jan am 10 Dez. 2017
Hello. I try to compile a mex file. I see error message like below.
"Invalid MEX File 'C:\...\myMEX.mexw64'".
Only this, no other message like " The specified module could not be found" or "myMEX.mexw64 is not a valid Win32 application" appears.
I can't find reason this issue happens.
My Matlab version is R2014a 64bit. And I run Matlab on Win 7 64bit. I use Visual Studio 2012.
Thank you.
  6 Kommentare
James Tursa
James Tursa am 8 Apr. 2015
Then start building from that. Start moving code from myMex.c into this simple function and see if you can still compile and run.
Wangjin Jin
Wangjin Jin am 8 Apr. 2015
Thank you.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

ALI AHMED EL-MAHMUDI
ALI AHMED EL-MAHMUDI am 10 Dez. 2017
Hi I have use facial landmarks "find_face_landmarks", but during compile I got this massage: Invalid MEX-file '\Documents\MATLAB\find_face_landmarks-1.2-x64-vc14-release\interfaces\matlab\find_face_landmarks.mexw64': The specified module could not be found.
  1 Kommentar
Jan
Jan am 10 Dez. 2017
Bearbeitet: Jan am 10 Dez. 2017
@Ali: Please post a new question in a new thread and not in the section of answers of another question. "Thread-hijacking" is confusing, because it is not clear afterwards, to which question the answers belong. After opening your own thread, delete this message. Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by