library compiler don't see shared library option

8 次查看(过去 30 天)
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

回答(1 个)

Kojiro Saito
Kojiro Saito 2019-8-13
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 个评论
Imola Fodor
Imola Fodor 2021-5-18
编辑:Imola Fodor 2021-5-18
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 2021-5-19
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"

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by