Why does the SDK 7.1 installation fail with an "Installation Failed" message on my Windows system?
143 views (last 30 days)
Show older comments
MathWorks Support Team on 6 Aug 2013
Answered: Varun Nayyar on 11 Nov 2022
I am working with MATLAB 7.14 (R2012a) 64-bit. I need to setup a compiler configuration for MATLAB on my system.
When I try to execute the following MATLAB command:
I receive the following error:
No supported SDK or compiler was found on this computer.
For a list of supported compilers, see
If I try to install Microsoft Windows SDK 7.1, a supported compiler for MATLAB 7.14 (R2012a), on my system, the installation fails with the following error message:
MathWorks Support Team on 15 Jun 2021
Edited: MathWorks Support Team on 21 Jun 2021
This is an issue with Microsoft Windows SDK 7.1. It may occur under two scenarios:
1. If you have Microsoft Visual C++ 2010 SP1 (Express or Professional) installed.
2. If you have Microsoft Visual C++ 2010 redistributable packages (x64 or x86) installed.
The details on the issue from Microsoft are below:
To avoid this issue:
1. Uninstall the Microsoft Visual C++ 2010 redistributable packages (both x86 as well as x64) from “Control Panel” > “Programs and Features”. If you have trouble uninstalling them, see related solution 1-NBI41W at the bottom.
2. Install the Windows SDK 7.1. During installation, under the "Installation Options" menu, UNCHECK the "Visual C++ Compilers" and "Microsoft Visual C++ 2010" components.
3. Apply the SDK 7.1 patch from below:
4. Reinstall the Microsoft Visual C++ 2010 redistributable packages.
More Answers (13)
Alexander Venus on 30 Jun 2015
Edited: Jan on 29 Nov 2015
I would like to repeat the comment of Gary Day out here, because it saved the day for me:
I stumbled across a way to install SDK 7.1 without having to uninstall the later 2010 Redistributables!
First dip into the installer Setup\WinSDKRedist_amd64 folder and install WinSDKRedist_amd64.msi (I am on 64bit Win7 but hopefully this will work for 32bit as well)
Then launch the main setup.exe. The installer now recognises part of the SDK is installed and skips the check for later 2010 redistributables and you can select change option and add the remaining items you want installed.
Jan on 26 Apr 2014
Had the same problem. Followed instructions and completed installation. Did have 'repair' the C++ 2010 packages twice; a notice 'installation failed' popped up after the 1st time for each package. Thanks. Note to MW: would be nice if the installer could take care of this in the future.
Ivan on 9 May 2014
Had the same problem, followed the above procedure and it worked, after spending a whole day digging other solutions elsewhere. Why such a simple task should be so overly complicated?
baran ad on 16 Jun 2014
I had the same problem. After searching for possible solutions the whole day! finally I got the answer here. Thanks So Much
Pradeep on 24 Jun 2014
Faced the same problem as mentioned in the question and the given solution works perfectly ! Many thanks !
Hamed on 19 Oct 2014
Edited: MathWorks Support Team on 23 Feb 2022
In 64bit windows 8 and Matlab R2014a, By installing "Microsoft Visual Studio Ultimate 2013 with update 3", it solved. After installation, the "mex -setup" answer is:
>> mex -setup
MEX configured to use 'Microsoft Visual C++ 2013 Professional (C)' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: https://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html .
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
Samhitha Vadlamani on 26 Nov 2016
Brilliant !!! can't thank you enough
lily mona on 1 Jun 2017
please i try it and it does not work what can i do please
Moien Mojabi on 1 Feb 2019
This solution saved my days (and of course nights!)
Varun Nayyar on 11 Nov 2022
Anyone tried using polyspace 2012b also on windows 10 x64? I am unable to install that toolbox.
Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!