matlab2010a与vs2010混编问题
来源:互联网 发布:vb中sum是什么意思 编辑:程序博客网 时间:2024/05/29 16:39
配置matlab编译器方法:
mbuild -setup
注意如果使用的是win7系统则需要安装两个东西Microsoft Windows SDK for Windows 7and.NET
若只是想使用mex的话只需安装VS2010Mexsupport.zip就可以了,安装方法如下:
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 –setup
Visual 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.
- matlab2010a与vs2010混编问题
- vs2010+matlab2010a的那些事
- MATLAB2010a+OpenCV2.3.1+VS2010运行TLD
- matlab2010a(7.10) 识别 VS2010编辑器
- c#与IDL混编问题
- c++ 与 object c 混编疑惑问题
- swift与OC混编桥的问题
- Matlab与C#混编 问题总结
- 关于matlab与C混编的问题
- 关于oc与swift混编问题
- ubuntu下解决matlab2010a中文乱码问题
- matlab2010a在mbuild时找不到vs2010的解决办法
- 怎样在Matlab2010a中使用VS2010的mex
- matlab2010a在mbuild时找不到vs2010的解决办法
- matalab2010、vs2010、opencv库混编!
- Swift与Objective-C与C++混编的问题
- ENVI\IDL 与C# 混编时的问题
- C与C++混编所遇到的问题
- seo优化之title如何写作
- DirectShow--用GraphEdit辅助调试
- Unable to open sync connection!
- Liunx环境下Oracle的SID连接不上
- 四种主要的 OpenGL 库
- matlab2010a与vs2010混编问题
- Android 应用导入第三方jar包
- 【转】ASP中采用 VBScript 调用各类型的存储过程的总结
- RMQ与LCA问题
- Android中的5种数据存储方式
- PHP对变量进行序列化的方法大比拼 四种序列化变量的方法
- LINQ to SQL语句(1)之Where
- LINQ to SQL语句(2)之Select/Distinct
- 项目管理-1