specify compiler used by loadlibrary
显示 更早的评论
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 个评论
Philip Borghesani
2015-8-19
I am curious why do you wish to control this on Linux?
Thomas Wilborn
2015-8-19
回答(1 个)
Philip Borghesani
2015-8-19
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!