MATLAB: Does Microsoft Windows SDK 7.1 not get detected as a supported compiler for Windows 8 with Framework 4.5

-setupbuildercompilerMATLAB Compilermexnet

I have installed the supported compiler MICROSOFT WINDOWS SDK 7.1 on my machine Windows 8 which has  .NET Framework 4.5. However MEX fails as it is not being able to detect a supported compiler.

Best Answer

This happens because Microsoft Windows SDK 7.1 automatically starts installing .NET Framework 4.0 . Since the machine already has .NET Framework 4.5, it conflicts and the installation of SDK silently fails.
As a workaround, uninstall the .NET Framework 4.5 and then re-install the Microsoft Windows SDK.