Matlab compiler installation. If you have trouble after installation of Microsoft Windows SDK 7.1

Solution for the Matlab compiler installation. If you have trouble after installation of Microsoft Windows SDK 7.1

Today I am writing a tip to solve a Matlab compiler setup problem. 

If you want to use MEX or any Matlab compiling technology, you need a compiler. Windows does not have a default compiler. So you have to install. If you don’t have any compiler, you would see the below message.

>> 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/R2013a/win64.html 

Please choose your compiler for building MEX-files: 

Would you like mex to locate installed compilers [y]/n? y

No supported SDK or compiler was found on this computer. 
For a list of supported compilers, see 
http://www.mathworks.com/support/compilers/R2013a/win64.html 

Error using mex (line 206)
Unable to complete successfully.

If you follow the link, you can install “Microsoft Windows SDK 7.1”

BUT, IMPORTANT, if you don’t have “.NET Framework 4.0,” you cannot install the compiler. As shown in the below figure, you MUST install .NET Framework 4.0 for installation of the windows compiler.

Matlab compiler problem, if you have trouble after the installation of Microsoft Windows SDK 7.1

Matlab compiler problem, if you have trouble after the installation of Microsoft Windows SDK 7.1

Then, I wish this post can help to solve your problem.

Thank you.

—————————————————————————————————————————–

I am Youngmok Yun, and writing about robotics theories and my research.

My main site is http://youngmok.com, and Korean ver. is  http://yunyoungmok.tistory.com.

—————————————————————————————————————————–

1 thought on “Matlab compiler installation. If you have trouble after installation of Microsoft Windows SDK 7.1

  1. Prashant Bhopale

    Sir,
    I have tried to install SDK 7.1 but it shows an error.
    My system is windows 8,
    does SDK 7.1 only compatible with windows 7 ?

    Reply

Leave a Reply