How to embed ctf in shared library?

조회 수: 4 (최근 30일)
Jim Svensson
Jim Svensson 2014년 5월 22일
I have this matlab function foo.m.
If I run mcc -N -W lib:libfoo -T link:lib foo.m I get a libfoo.so (about 34k in size).
And if I run mcc -N -W lib:libfoo -T compile:lib foo.m I get libfoo.o (about 4k in size), and a libfoo.ctf (about 25k in size).
Question: How do I combine libfoo.o with libfoo.ctf (and possibly other .o-files) to get a shared library libfoo.so that includes all the object files and the ctf file?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Build MATLAB Interface to C++ Library에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by