mada_seu
2009-07-25, 23:34
我遇到这样的问题,总是讲
??? Invalid MEX-file 'E:\Program Files\MATLAB\R2008a\work\smatlink0093 for link between matlab and
mathematica\SMAT_matlabcall.mexw32': 找不到指定的模块。
已经进行了如下设置,但是还是报上面的错误,不知道怎么解决啊!
mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in E:\PROGRA~1\MATLAB\R2008a\sys\lcc
[2] Microsoft Visual C++ 6.0 in G:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 6.0
Location: G:\Program Files\Microsoft Visual Studio
Are these correct [y]/n? y
Warning: MBUILD requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'G:\Program Files\Microsoft Visual Studio'.)
Trying to update options file: C:\Documents and Settings\md\Application Data\MathWorks\MATLAB\R2008a\compopts.bat
From template: E:\PROGRA~1\MATLAB\R2008a\bin\win32\mbuildopts\msvc60compp.bat
Done . . .
??? Invalid MEX-file 'E:\Program Files\MATLAB\R2008a\work\smatlink0093 for link between matlab and
mathematica\SMAT_matlabcall.mexw32': 找不到指定的模块。
已经进行了如下设置,但是还是报上面的错误,不知道怎么解决啊!
mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in E:\PROGRA~1\MATLAB\R2008a\sys\lcc
[2] Microsoft Visual C++ 6.0 in G:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 6.0
Location: G:\Program Files\Microsoft Visual Studio
Are these correct [y]/n? y
Warning: MBUILD requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find these directories in 'G:\Program Files\Microsoft Visual Studio'.)
Trying to update options file: C:\Documents and Settings\md\Application Data\MathWorks\MATLAB\R2008a\compopts.bat
From template: E:\PROGRA~1\MATLAB\R2008a\bin\win32\mbuildopts\msvc60compp.bat
Done . . .