Matlab 2012a with Windows SDK 7.1

I am trying to setup the mex compiler. I am on Windows 8 with Visual studio 2012 and Matlab 2012a.

I have already downloaded Windows SDK 7.1 and installed:

But when I try to:

mex -setup

It says:

No supported SDK or compiler was found on this computer. 
For a list of supported compilers, see  
http://www.mathworks.com/support/compilers/R2012a/win64.html  

Any thoughts?


Solution 1:

The Windows SDK 7.1 is on the list of supported compilers, so this is a valid question.

I think it might be this bug, which I have run into where compilers get removed (details from MS)! Check it out here too. The patch is on Microsoft's website.

See this support article for tips on how to download and configure the SDK for MATLAB. Maybe confirm that the compilers were selected in the installation.