Hello,
I have compiled a set of MATLAB codes to C Shared library using mcc. I need to compile this library as part of another C++ project. But, it requires me to create .app application. Even MATLAB example (MATLAB_R2019b.app/extern/examples/compilersdk/c_cpp/matrix) creates .app output. So, I was wondering if it would be possible to use MCR as CLI app (without .app bundle)?
Is there an alternative approach?
Thank you.

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 6 月 24 日

0 投票

mcc -l option to compile to a shared C library. mcc -W option to compile to a shared C++ library.

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB Compiler SDK についてさらに検索

製品

リリース

R2019b

タグ

質問済み:

2020 年 6 月 23 日

回答済み:

2020 年 6 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by