MATLAB: C compiler for MATLAB in 64-bit windows

64-bitcompilerMATLAB Compiler

I have installed 64-bit MATLAB on my PC (Windows 7, 64-bit) and am trying to install a C compiler. I downloaded Windows SDK 7.1 and it reported as follows when I was trying to install:
Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
I tried all the solutions mentioned in the MSDN blog but none worked. Can anyone help? Or I think I have to turn to another compiler.
As lcc win32 has already been included in the 32-bit MATLAB, I wonder does the lcc win64 found on the website also works fine with the 64-bit MATLAB?
Thanks guys.

Best Answer

I have googled a lot and found that a newer version of VC++ 2010 Redistributable might prevent the Windows SDK 7.1 from successful installation.
Therefore I uninstalled my vc++ 2010, and then install the SDK 7.1, which works for me.
So, I would suggest anyone who want to install Windows SDK 7.1 first follow the nice MathWorks install guide here: <>
If failed PLEASE CHECK the SDK setup log file to find which components are failed to be installed. And try to uninstall your newer vc++ 2010 before the SDK installation.