Where can I find Matlab compiler SDK in R2017b?
4 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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
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.
More Answers (1)
Elisa Michelini
on 15 Oct 2017
1 Comment
Walter Roberson
on 15 Oct 2017
Did you install the patch that is needed for R2016b or R2017a to use VS2017 ?
See Also
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!