MATLAB Answers

why can't we use visual C++ express 2010 with R2012a ?

2 views (last 30 days)
p fontaine
p fontaine on 19 Mar 2012
Why can't we use visual C++ 2010 Express with R2012a ?
I use Windows Seven 64 bits I have installed SDK 7.1 as specified in http://www.mathworks.fr/support/compilers/R2012a/win64.html but visual C++ 2010 Express does not appear in the list provided when calling mex -setup Why isn't it listed on the link above (only professional version is present) ? Is R2012a supposed to work with VIsual C++ 2010 Express ?
  1 Comment
Walter Roberson
Walter Roberson on 20 Mar 2012
32 bit or 64 bit? If 64 bit, did you install the SDK?

Sign in to comment.

Accepted Answer

Ken Atwell
Ken Atwell on 20 Mar 2012
The SDK you installed contains all of the bits MATLAB needs to compile 64-bit binaries, and is what "mex -setup" will list. You can skip installing Visual C++ if you are only interested in supporting MATLAB -- of course, the full-features IDE of Visual C++ is useful if you develop C/C++/C# code outside of MATLAB.
Visual C++ Express only contains a 32-bit compiler, so you would need to install the SDK anyhow to get a 64-bit compiler.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!