Microsoft Platform SDK for Windows Server 2003 also needs to be installed when using Microsoft Visual C++ 2005 Express Edition.
In addition, the MSSdk variable needs to be defined in the Windows environment when using Microsoft Visual C++ 2005 Express Edition with MATLABĀ® and related products. The value of this environment variable is the path to the installation directory for Microsoft Platform SDK for Windows Server 2003. This environment variable is not usually defined by the Microsoft Platform SDK installation program.
Please follow the steps listed below to setup the MSSDk environment variable after you have installed Microsoft Platform SDK for Windows Server 2003.
1. Go to Control Panel -> System -> "Advanced" -> "Environment variables".
2. Create a new system variable with the name "MSSdk".
3. The value of this variable should be the path where the Microsoft Platform SDK for Windows Server 2003 is installed.
4. Click OK a few times to close out the Control Panel window, and all its children.
5. Restart MATLAB.
You should now be able to use the Microsoft Visual C++ 2005 Express Edition compiler with MATLAB.
Note : On Windows 7 with Microsoft SDK 7.0 installed, please set the "MSSdk" environment variable to the below value:
C:\Program Files\Microsoft SDKs\Windows\v7.0
Best Answer