我在笔记本电脑上成功编译了Mex文件.但是,当我运行它时,它说Invalid mex file 'c:\newfolder\filename.mexw32' The specified module could not be found.
System specification:
OS: windows 7
MATLAB 2010a
Microsoft Visual Studio 2008.
Run Code Online (Sandbox Code Playgroud)
在XP SP3下,我的PC上编译并运行相同的mex文件.
此MathWorks支持链接为您的问题提出了两个可能的原因:
无论哪种方式,要找到此错误的来源,它表示您需要列出所有从属库文件并验证它们是否存在于您尝试运行MEX文件的系统中,并且还建议将Dependecy Walker作为工具来去做.