Where can I find Matlab compiler SDK in R2017b?

5 vues (au cours des 30 derniers jours)
Elisa Michelini
Elisa Michelini le 15 Oct 2017
Commenté : Walter Roberson le 15 Oct 2017
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

Réponse acceptée

Jan
Jan le 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 commentaire
Walter Roberson
Walter Roberson le 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.

Connectez-vous pour commenter.

Plus de réponses (1)

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

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by