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: | 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: |