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 Center および File ExchangeBuild 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