specify compiler used by loadlibrary
Show older comments
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 Comments
Philip Borghesani
on 19 Aug 2015
I am curious why do you wish to control this on Linux?
Thomas Wilborn
on 19 Aug 2015
Answers (1)
Philip Borghesani
on 19 Aug 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
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!