library compiler don't see shared library option

5 ビュー (過去 30 日間)
Brian Schipper
Brian Schipper 2019 年 8 月 13 日
コメント済み: Kojiro Saito 2021 年 5 月 19 日
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 Center および File ExchangeGet 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