Error: Invalid MEX file, the specified module could not be found

后端 未结 4 868
滥情空心
滥情空心 2021-01-11 14:52

I have compiled Mex file successfully on my laptop. But when I am running it, it says Invalid mex file \'c:\\newfolder\\filename.mexw32\' The specified module could no

4条回答
  •  借酒劲吻你
    2021-01-11 15:17

    This MathWorks support link suggests two possible reasons to your problem:

    1. You do not have all of the necessary libraries that the MEX-function is dependent upon.
    2. You are running a MEX-file on a different version of MATLAB than it was compiled on.

    Either way, to locate the source of this error it says that you need to list all dependent library files and verify their existence in the system you're trying to run the MEX file on, and also recommends the Dependecy Walker as the tool to to do that.

提交回复
热议问题