回复: 求助:matlab与VC接口设置
好像根路径有无中文无关
我的路径没中文,但也出现了上面的问题。
>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc C version 2.4 in D:\MATLAB\sys\lcc
[2] Microsoft Visual C/C++ version 6.0 in D:\Program Files\VC++\MSDev98
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C/C++ 6.0
Location: D:\Program Files\VC++\MSDev98
Are these correct?([y]/n): y
Warning: Mex requires that the Microsoft Visual C++ 6.0
directories "VC98" and "Common" be located within the same parent directory.
(Expected to find a directory named "Common" in the directory 'D:\Program Files\VC++\MSDev98'.)
The default options file:
"C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R13\mexopts.bat"
is being updated from D:\MATLAB\BIN\WIN32\mexopts\msvc60opts.bat...
Installing the MATLAB Visual Studio add-in ...
Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\template\MATLABWizard.awx
from D:\MATLAB\BIN\WIN32\MATLABWizard.awx
Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\template\MATLABWizard.hlp
from D:\MATLAB\BIN\WIN32\MATLABWizard.hlp
Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\addins\MATLABAddin.dll
from D:\MATLAB\BIN\WIN32\MATLABAddin.dll
Warning: Could not update D:\Program Files\VC++\MSDev98\common\msdev98\bin\usertype.dat
from D:\MATLAB\BIN\WIN32\usertype.dat
Note: One or more components necessary to the operation of the MATLAB Visual
Studio add-in could not be installed. The MATLAB Visual Studio add-in
will not be available, but the rest of this setup operation will
continue normally.
|