specify compiler used by loadlibrary
Afficher commentaires plus anciens
This Q is for Matlab 2015a on linux. When I call loadlibrary from Matlab command prompt, it generates a "thunk" .so file from an intermediate .c file that loadlibrary must autogenerate then delete after the "thunk" .so file is created. How can I specify the location of the compiler to use to create the "thunk" .so file?
2 commentaires
Philip Borghesani
le 19 Août 2015
I am curious why do you wish to control this on Linux?
Thomas Wilborn
le 19 Août 2015
Réponses (1)
Philip Borghesani
le 19 Août 2015
0 votes
The compiler used is the one configured/found with mex -setup. This answer may help if you need to modify your configuration: Setup MEX compiler for R2014a for Linux
Catégories
En savoir plus sur C Shared Library Integration dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!