mexopt.sh not functional in R2016?

1 回表示 (過去 30 日間)
gujax
gujax 2016 年 9 月 15 日
回答済み: gujax 2016 年 9 月 24 日
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 Center および File ExchangeDebugging and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by