Creating a static library using the .mex command
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
José-Luis
le 5 Fév 2013
Modifié(e) : José-Luis
le 6 Fév 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!