How to embed ctf in shared library?

6 visualizaciones (últimos 30 días)
Jim Svensson
Jim Svensson el 22 de Mayo de 2014
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?

Respuestas (0)

Categorías

Más información sobre Build MATLAB Interface to C++ Library en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by