library compiler don't see shared library option

10 views (last 30 days)
I am trying to use the "Library Compiler" to compile a Matlab script into a .lib for integration into a C program. When I open the Library Compiler I am not given the option for "C Shared LibraryC Shared Library" in the TYPE option. The only option I see is "Excel Add-in". I assume I need to install something. Can you help me and tell what I need to do to enable the "C Chared Library" TYPE option?
Thanks
Brian

Answers (1)

Kojiro Saito
Kojiro Saito on 13 Aug 2019
You need to install MATLAB Compiler SDK to create C Shared Library.
Though Excel Add-in is listed in Library Compiler, it is included in MATLAB Compiler. Creating libraries for such as C/C++, Java, Python, .NET libraries requires Compiler SDK.
  2 Comments
Imola Fodor
Imola Fodor on 18 May 2021
Edited: Imola Fodor on 18 May 2021
i have installed Compiler SDK, but i don't see among the options e.g. .NET.. i should enable SDK in a way? with some command, configuration? i am trying all this on 2018a, linux platform
Kojiro Saito
Kojiro Saito on 19 May 2021
Unfortunately, .NET assembly of MATLAB Compiler SDK is available only on Windows platform.
As written in the following document.
"MATLAB Compiler SDK .NET target is available only on Windows"

Sign in to comment.

Categories

Find more on Get Started with 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!