how to eradicate Mex -setup error

5 Ansichten (letzte 30 Tage)
Durga Samannth
Durga Samannth am 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.

Antworten (1)

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

Kategorien

Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by