MATLAB Answers

Invalid MEX file.Specified Module could not be found.

1 view (last 30 days)
Fathima Nasha
Fathima Nasha on 21 May 2021
Edited: Jan on 21 May 2021
Its showing invalid mex-file.what should i do?I have installed minGW-w64 add on,but still the error persist.Also i checked whether its installed or not.Someone please help with this.

Answers (1)

Jan on 21 May 2021
Edited: Jan on 21 May 2021
Please post the full error message as text. Important parts of the message are cropped.
I assume, the MEx function was compiled with another compiler and you did not install the corresponding runtime library. Either install the runtime, I guess MSVC 2015/17/19 could help:
You can find out, which module is missing with the DependencyWalker:
The alternative is, that you compile the C source with minGW by your own.


Community Treasure Hunt

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

Start Hunting!