How to embed ctf in shared library?

4 次查看(过去 30 天)
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