how to eradicate Mex -setup error

1 次查看(过去 30 天)
Durga Samannth
Durga Samannth 2013-4-25
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by