mexopt.sh not functional in R2016?

1 次查看(过去 30 天)
Hi,
I copied mexopt.sh onto my home folder on mac OS X running R2016 Matlab. I edited it to enable CXX flag 'xcrun /usr/local/bin/gcc-4.8'. However, none of the changes in mexopt.sh seems to affect mex operations. It always defaults to clang.
How should I enable compilation using gnuCC?
Thanks
gujax

采纳的回答

gujax
gujax 2016-9-24
Instead edit the xml files e.g., mex_C++_maci64.xml if using C++

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by