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

后端 未结 4 993
滥情空心
滥情空心 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:02

    I had a similar problem. I was only linking against 1 'lib' so I simply copied that lib into the same folder as the mexw64 and it worked.

    I have not poked around for the correct place to tell MATLAB to add the lib's real location to whatever path it's looking at.

提交回复
热议问题