MCR on Mac OS

5 Ansichten (letzte 30 Tage)
Ahmad Rezazadehreyhani
Ahmad Rezazadehreyhani am 23 Jun. 2020
Beantwortet: Walter Roberson am 24 Jun. 2020
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.

Antworten (1)

Walter Roberson
Walter Roberson am 24 Jun. 2020
mcc -l option to compile to a shared C library. mcc -W option to compile to a shared C++ library.

Kategorien

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

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by