Invalid MEX file.Specified Module could not be found.
3 views (last 30 days)
Show older comments
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.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 Introduction to Installation and Licensing 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!