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

后端 未结 4 881
滥情空心
滥情空心 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 14:55

    I had this problem also when upgrading from Matlab2010a/VS2008 to Matlab2013a/VS2010.

    All my environment variables were sent correctly. A reboot fixed problems with OpenCV dlls not being found, I assume that it was still trying to link to the OpenCV dlls for VS2008 (even though I had changed the path). However still my mex file could not find libmex.dll.

    When I installed Matlab2013a, I did not uninstall the old version (in case I wanted to go back). However that was the cause of my problem. Once I uninstalled the old version of Matlab and rebooted again, the problem was gone.

提交回复
热议问题