library compiler don't see shared library option

11 Ansichten (letzte 30 Tage)
Brian Schipper
Brian Schipper am 13 Aug. 2019
Kommentiert: Kojiro Saito am 19 Mai 2021
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

Antworten (1)

Kojiro Saito
Kojiro Saito am 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 Kommentare
Imola Fodor
Imola Fodor am 18 Mai 2021
Bearbeitet: Imola Fodor am 18 Mai 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 am 19 Mai 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"

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by