how to eradicate Mex -setup error

1 view (last 30 days)
Durga Samannth
Durga Samannth on 25 Apr 2013
I have downloaded the SDK 7.1 and visual C++ compiler but I am having a problem when I am trying to setup the compiler. Can anyone help me with this please?
>> mex -setup
Welcome to mex -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2012a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler: [1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0 [2] Microsoft Visual C++ 2010 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2010 Location: C:\Program Files (x86)\Microsoft Visual Studio 10.0
Are these correct [y]/n? yy
*************************************************************************** Error: Microsoft Visual C++ 2010 requires the Microsoft Windows Software Development Kit (SDK), but the SDK cannot be found. Examine your Microsoft Visual C++ 2010 installation. ***************************************************************************
Error using mex (line 206) Unable to complete successfully.

Answers (1)

Harsheel
Harsheel on 26 Apr 2013
Seems like you are facing an issue similar to one listed below:

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!