Seems like you are facing an issue similar to one listed below:
how to eradicate Mex -setup error
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File 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!