Creating a static library using the .mex command
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
José-Luis
il 5 Feb 2013
Modificato: José-Luis
il 6 Feb 2013
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!