Invalid MEX file.Specified Module could not be found.

11 次查看(过去 30 天)
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.

回答(1 个)

Jan
Jan 2021-5-21
编辑:Jan 2021-5-21
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by