library compiler don't see shared library option

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)

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

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
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

Asked:

on 13 Aug 2019

Commented:

on 19 May 2021

Community Treasure Hunt

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

Start Hunting!