MATLAB: Do I get an error with MEX -SETUP even after installing “Microsoft Windows SDK for Windows 7 and .NET Framework 4”

MATLAB

Following the instructions in solution 1-6IJJ3L I installed Microsoft Visual C++ 2008 Express edition and also a Windows SDK; more specifically I chose to install the "Microsoft Windows SDK for Windows 7 and .NET Framework 4" (version 7.1). Nevertheless I still receive the following error when running MEX -SETUP:
*****************************************************************************
Error: Could not find the Microsoft Windows Software Development Kit (SDK).
This may indicate that the Microsoft Windows SDK or the
"X64 Compilers and Tools" is not installed. To build 64-bit
MEX-files Microsoft Visual C++ 2008 Express Edition requires that
these two packages are installed properly.
*****************************************************************************

Best Answer

The "Microsoft Windows SDK for Windows 7 and .NET Framework 4" does NOT install the required 64-bit cl.exe compiler version 2008, instead it will install the 2010 version; this compiler version is not supported by MATLAB 7.10 (R2010a).
If you want to install a 7.x version of the SDK, please choose the "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1" (version 7.0).