Why do I have to install Microsoft Windows SDK 7.1?

1 view (last 30 days)
Hello, I downloaded a code from internet and when I tried to run it, I got an error saying "No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2013b/win64.html" When I click on the link, I get a list that includes Microsoft Windows SDK 7.1 and Microsoft Visual C++ 2012 Professional, for example. So my question is, why do I need to install a new program or "compiler"? Shouldn't Matlab be able to compile everything? What's the difference? I know this can be a simple or basic question, but I'm just starting to use Matlab for programming and I sometimes wonder about this kind of things. Thank you for your help.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Aug 2015
The code you downloaded from the Internet included C or C++ code. MATLAB is not designed to compile code that is written in other computer languages.
You could write a C or C++ compiler in MATLAB. It would take a long time, and at the end it would probably only handle one particular computer architecture and one particular operating system. It is more productive to use an existing compiler that has undergone a lot of testing and optimization, such as SDK 7.1

More Answers (0)

Categories

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!