matlab vs2010编译器xml,matlab(R2010a)找不到vs2010的c++编译器

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, 2012

Solution ID:

1-D5W493

Product:

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:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: Matlab 2018a新增了大量的硬件支持包,这些硬件支持包涉及了多个领域,包括机器人、航空航天、自动化控制、地球物理学、通信等等。在这些支持包中,用户可以到许多最新的硬件设备的驱动程序和例程,这些设备包括传感器、运动控制器、计算机视觉和处理器。此外,Matlab 2018a还引入了很多新的功能,如远程连接和云计算,以便用户利用云计算资源和远程计算能力来处理数据。 Matlab 2018a还提供了更好的工程支持,通过添加新的工具箱来支持使用Matlab构建工程,从而方便用户在多种环境中使用Matlab。例如,硬件支持包中的Simulink支持包提供了一种构建控制系统的方式,从而让用户可以使用复杂的模型来构建系统。 综上所述,Matlab 2018a硬件支持包提供的功能非常全面,可以满足用户的不同需求。不论是在科学研究、工程设计还是教育教学中,Matlab都能提供强大的工具和功能,用户可以利用Matlab来处理复杂的数据、构建系统和模型,以及进行数据分析和可视化。Matlab 2018a硬件支持包使Matlab更加灵活和通用,让用户能够将其应用于更多的领域中,从而将Matlab打造成为一个功能强大的数据处理工具。 ### 回答2: MATLAB 2018 硬件支持包是一个公共软件,它可以帮助用户在 MATLAB 中直接访问并控制硬件设备。该软件支持多个硬件设备,包括 Arduino,Raspberry Pi,LEGO Mindstorms EV3,NI-DAQmx 等。 它可以让用户通过口语与软件通信,以非常简单和可读的方式指示适当的初始化和控制硬件。硬件支持包使用户可以轻松集成他们自己的比较大型业务逻辑,并且如何用 MATLAB 与硬件交互提供了多个示例。 MATLAB 2018 硬件支持包包含封装程序接口(API),这些接口可以帮助硬件与 MATLAB 相互配合,以方便硬件的控制和数据的获取。该软件还提供了一个很好的面向对象的 MATLAB 类库和示例代码,以便用户展示并发现其硬件所要求的功能性能。 此外,MATLAB 2018 硬件支持包中还包含了谷歌安卓的支持,使用户可以使用 Android 设备与 Microframework 进行交互。用户可以下载示例代码以及与其它硬件设备通信的代码。这样,MATLAB 2018 硬件支持包使硬件与软件的整个过程非常简单,无需详细了解很多底层领域的信息。最后,它们的文档程序包括示例代码、视频教程等,帮助用户完整了解硬件和软件之间的交互。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值