How do I install a supported compiler for MATLAB 7.12 (R2011a) for the Microsoft Windows 7 Version 6.1 platform?

5 views (last 30 days)
How do I install a supported compiler for MATLAB 7.12 (R2011a) for the Microsoft Windows 7 Version 6.1 platform? I've already checked entering mex -setup in the Command Window and after enter "y" the answer was "No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2011a/win64.html"
  1 Comment
Kaustubha Govind
Kaustubha Govind on 22 Sep 2011
You need to download and install one of the support compilers from the web sites of the corresponding vendors. See the link you quoted - it points to download locations.

Sign in to comment.

Answers (1)

Jan
Jan on 22 Sep 2011
The link you've posted explains the required procedure in detail. did you read it and installed the MSVC compiler and SDK already?
If you want to compile the C-files through the MEX-command only, installing only the SDK7.1 is sufficient. The MSVC 2010 express version is nice for debugging and getting help for the Windows-API.
  2 Comments
Rakshit Kothari
Rakshit Kothari on 31 Mar 2012
@Jan Simon - I installed MVS - 2011 beta and the SDK 7.1, I finished building all the files and everything seemed in order.
"To verify that the WDK Build Environments installed successfully 1. Click Start. 2. Point to All Programs > Windows Driver Kits > WDK build# > Build Environments > Windows 7. 3. Click x86 Checked Build Environment. 4. At the command prompt, type build -cZ."
This is quoted on the website, and after doing so, i tried mex -setup again, but I received the same error. Could you guide me to the correct procedure, i need MATlab to compile a .cpp file in my MATlab directory.
Ken Atwell
Ken Atwell on 31 Mar 2012
Rakshit,
Are you sure you're installing the right thing? The Windows Driver Kits has nothing to do with MEX (at least, not obviously so). Visual Studio 11 is in unreleased, beta form, and all versions of MATLAB released to date will know nothing about it.
Stick to the compilers supported by your particular version of MATLAB, and things will go a lot easier.
* For R2012a, visit http://www.mathworks.com/support/compilers/R2012a/win64.html
* For older versions, http://www.mathworks.com/support/sysreq/previous_releases.html

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!