matlab(R2010a)找不到vs2010的c++编译器
2014-06-13 00:00
309 查看
matlab(R2010a)找不到vs2010的c++编译器,网上有很多解决的办法,但是大部分都很复杂,并且不一定好用,这里是matlab官方给出的解决方法,非常好用,很简便。
How can I use Microsoft Visual C++ 2010 to create MEX files with MATLAB 7.10 (R2010a)?
Date Last Modified: Friday, March 30, 2012Solution ID: | 1-D5W493 | |
Product: | MATLAB | |
Reported in Release: | R2010a | |
Platform: | Windows | |
Operating System: | Windows Any |
Subject:
How can I use Microsoft Visual C++ 2010 to create MEX files with MATLAB 7.10 (R2010a)?Problem Description:
I would like to use Visual C++ 2010 to create MEX files for use in MATLAB.Solution:The Microsoft Visual C++ 2010 compiler is not supported on the released version of MATLAB 7.10 (R2010a), but support can be added by installing a patch. To install the patch:1. Download the patch attached to this Solution. The patch includes files needed to support these combinations of MATLAB and Visual C++ 2010: • Visual C++ 2010 Professional and 64-bit MATLAB 7.10 (R2010a) • Visual C++ 2010 Professional and 32-bit MATLAB 7.10 (R2010a) • Visual C++ 2010 Express (Windows SDK 7.1 also required) and 64-bit MATLAB 7.10 (R2010a) • Visual C++ 2010 Express and 32-bit MATLAB 7.10 (R2010a) 2. Launch MATLAB 7.10 (R2010a). If running on Windows Vista or Windows 7 run as administrator by right-clicking on the MATLAB shortcut and choosing "Run As Administrator". This permits modification of files in the MATLAB installation path. 3. Confirm that you are running MATLAB 7.10 (R2010a). You can check this using the About box available at Help->About MATLAB. 4. Unzip the contents of the patch into your MATLAB installation using the following command on the MATLAB command window. unzip( path_to_zip_file, matlabroot); This command will automatically unzipped the files in the correct folder and you do not have to worry about placing them in correct folder. 5. Set up MEX to use Visual C++ 2010 with the command: mex –setupVisual C++ 2010 should now be among the listed options. Note that this patch will only work with MATLAB 7.10 (R2010a). Using this patch with any version of MATLAB is not supported. Other MathWorks products such as Real-Time Workshop do not support Visual C++ 2010. Refer to http://www.mathworks.com/support/compilers/R2010a/index.html for up-to-date information concerning supported compilers. |
Related Documents/Files:
VS2010MEXSupport.zip相关文章推荐
- matlab(R2010a)找不到vs2010的c++编译器
- matlab(R2010a)找不到vs2010的c++编译器 .
- matlab(R2010a)找不到vs2010的c++编译器
- matlab-VC混合编程之matlab低版本,VS高版本,mex -setup,mbuild -setup都找不到VS2010的编
- matlab 2010a mex -setup vs 2010找不到的问题
- Matlab 7.10(R2010a)识别VS2010编辑器
- Matlab 2010a设置VS2010为编译器
- VS2010调用Matlab 2010 引擎的相关设置及问题( error LNK2019: unresolved external symbol _engOpen referenced in )
- 在matlab2010中使用VS2010建立MEX文件
- MATLAB 2010a 添加 VS2010 编译器
- MATLAB 2010a 添加 VS2010 编译器
- Microsoft Visual Studio 2010(VS2010)正式版 CDKEY
- VS2010调用MATLAB方法(转载+修正)
- Vistual Studio 2010(VS2010)安装 MVC3.0具体方法
- caffe时cmake显示找不到matlab
- 安装matlab到99%时出现的问题:在您的许可证文件中找不到 SERVER 行。您需要在 "......" 中手动编辑 SERVER
- Autocad 2010+ObjectArx 2010 +Vs2010 的.net 开发设置
- [原] 安装VS2010出现Microsoft Visual Studio 2010 64bit Prerequisites (x64)错误
- WPF项目中使用水晶报表for vs2010时的一个找不到程序集的问题
- 在win7(32bit和64bit) visual studio 2010(vs2010)下安装opencv2.3