可算是有人搭理了~
首先我已经进行过以下操作了
>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? n
Select a compiler:
[1] Lcc-win32 C 2.4.1
[2] Microsoft Visual C++ 6.0
[3] Microsoft Visual C++ .NET 2003
[4] Microsoft Visual C++ 2005
[5] Microsoft Visual C++ 2005 Express Edition
[6] Microsoft Visual C++ 2008
[0] None
Compiler: 4
The default location for Microsoft Visual C++ 2005 compilers is C:\Program Files\Microsoft Visual Studio 8,
but that directory does not exist on this machine.
Use C:\Program Files\Microsoft Visual Studio 8 anyway [y]/n? n
Please enter the location of your compiler: [C:\Program Files\Microsoft Visual Studio 8] D:\ProgramFiles\Microsoft Visual Studio 8
Please verify your choices:
Compiler: Microsoft Visual C++ 2005
Location: D:\ProgramFiles\Microsoft Visual Studio 8
Are these correct [y]/n?
Trying to update options file: C:\Documents and Settings\aa\Application Data\MathWorks\MATLAB\R2008a\compopts.bat
From template: D:\MATLAB~1\bin\win32\mbuildopts\msvc80compp.bat
Done . . .
我的VS2005是装在D盘下的,没有装在C盘,所以上边修改了路径,不晓得会不会有什么影响,第一个问题出现了,我接着进行下面的操作发现,matlab还是不识别我选择的VS2005,下边是系统显示:这到底是为啥呢?
>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n?
Select a compiler:
[1] Lcc-win32 C 2.4.1 in D:\MATLAB~1\sys\lcc
[0] None