安装matlab2010时出现的问题,不能成功安装

安装如下:
>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? n
Select a compiler:
[1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[2] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[3] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
[4] Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
[5] Microsoft Visual C++ 2005 SP1
[6] Microsoft Visual C++ 2008 Express
[7] Microsoft Visual C++ 2008 SP1
[8] Microsoft Visual C++ 2010
[9] Microsoft Visual C++ 2010 Express
[0] None
Compiler: 9
The default location for Microsoft Visual C++ 2010 Express compilers is C:\Program Files\Microsoft Visual Studio 10.0,
but that directory does not exist on this machine.
Use C:\Program Files\Microsoft Visual Studio 10.0 anyway [y]/n? n
Please enter the location of your compiler: [C:\Program Files\Microsoft Visual Studio 10.0] D:\Microsoft Visual Studio 10.0(我的Visual Studio 10.0安装在D盘,这个是安装路径)
Please verify your choices:
Compiler: Microsoft Visual C++ 2010 Express
Location: D:\Microsoft Visual Studio 10.0
Are these correct [y]/n? y
***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2010 require
that Microsoft Visual Studio 2010 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
(可能是这里警告的原因不能实现vs编译器与matlab的联接,请高手帮忙看下,怎么解决,不胜感激/////我先安装的vs2010后安装的matlab2010b,如果是vs版本问题,请给个比较好的vs下载地址)
***************************************************************************
Trying to update options file: C:\Users\lenovo\AppData\Roaming\MathWorks\MATLAB\R2010b\mexopts.bat
From template: D:\MATLAB~2\bin\win64\mexopts\msvc100freeopts.bat
Done . . .
**************************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
**************************************************************************
再次输入mex –setup时,如下
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:
[0] None
Compiler:
还是没有编译器

第1个回答  2011-08-03
遇到过,把你的桌面还原到XP得经典模式,不要做任何改动——就是右键点属性,主题选XP经典模式
然后重新安装,应该就好了。
第2个回答  2011-07-23
xp下 Microsoft Visual C++ 2005 SP1可以
不知道你的电脑是什么系统,win7下尝试用VS2010好像不成功!如果只是C编译的话就用matlab自带的c编译器Lcc-win32,但是你好像没装上。追问

我的系统是win 7 64位的,上面显示的编译器我都试过,都不行,小郁闷了,搞不懂怎样才能弄好,求高手帮忙。

追答

很抱歉,64位的不清楚能不能用

本回答被网友采纳
第3个回答  2011-07-26
给你这个网址,对你安装会有很大帮助!
http://hi.baidu.com/%D0%A1%BC%C4%C9%FA%B3%E6%B6%F9/blog/item/283da18c4a314707b31bbaf9.html追问

这个方法我试过,也不行的

第4个回答  2011-07-28
不需要太多软件包的话用matlab7就可以
相似回答