Invalid MEX file.Specified Module could not be found.
3 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/625143/image.jpeg)
0 Comments
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: https://support.microsoft.com/topic/aktuelle-unterst%C3%BCtzte-downloads-f%C3%BCr-visual-c-2647da03-1eea-4433-9aff-95f26a218cc0
You can find out, which module is missing with the DependencyWalker: https://www.mathworks.com/matlabcentral/answers/95906-how-do-i-use-dependency-walker-with-matlab
The alternative is, that you compile the C source with minGW by your own.
0 Comments
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!