Creating a static library using the .mex command
5 次查看(过去 30 天)
显示 更早的评论
Hello, i wanted to ask if someone can tell me how to create a static library by using the mex-command (?)
Thanks in advance,
Uli
0 个评论
采纳的回答
José-Luis
2013-2-5
编辑:José-Luis
2013-2-6
That would depend on the compiler you use. Just compile some object files ( /c option for visual studio, -c for gcc). Then you could use your favorite utility ( ar in *nix systems, no idea for Windows) to create your static library, which is after all only a collection of object files.
This might help you understand how to set the compiler options.
2 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!