Where can I find Matlab compiler SDK in R2017b?

4 views (last 30 days)
Hallo! I want to use the "Library Application" too create a C shared library. I follow the istructions and I click to "package" to built the library but this error occours : " No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; visit http://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html. For more options, visit http://www.mathworks.com/support/compilers/R2017a/. Error: An error occurred while shelling out to mbuild (error code = -1). Unable to build executable" . But I checked the list of the installed application and there is written that Matlab compliler SDK is already installed. How can I solve this problem? Thank you

Accepted Answer

Jan
Jan on 15 Oct 2017
The "Matlab compiler SDK" is something else, also the terms "compiler" and "SDK" appear also. You need to install a compiler as the mentioned MinGW-w64 C/C++ or the Microsoft compiler, either as a Visual Studio Professional version. Please read the contents of the link you have provided: http://www.mathworks.com/support/compilers/R2017a/
Note: It is confusing that this link "R2017a" points to a page containing "Supported and Compatible Compilers for R2017b". But the details found there are correct.
  1 Comment
Walter Roberson
Walter Roberson on 15 Oct 2017
Compiler SDK generates some C code and data files and linking specifications and then needs to invoke a C compiler to create the executable.

Sign in to comment.

More Answers (1)

Elisa Michelini
Elisa Michelini on 15 Oct 2017
Jan Simon: I forgot to tell that I have already installed also visual studio 2017!!

Categories

Find more on C Shared Library Integration 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!