Matlab 2014b mex switch C compiler from XCode Clang to GCC on Mac

1 回表示 (過去 30 日間)
MING-CHANG CHIU
MING-CHANG CHIU 2015 年 2 月 23 日
コメント済み: MING-CHANG CHIU 2015 年 3 月 21 日
I typed
mex -setup C
in MATLAB 2014b and it shows
MEX configured to use 'Xcode with Clang' for C language compilation.
It doesn't give me any options to select. I am sure I have installed GCC on my Mac.
I want to unlink the Xcode and switch the compiler to GCC. Can somebody tell me how to do that?
thanks,

採用された回答

Ken Atwell
Ken Atwell 2015 年 2 月 23 日
Sorry, MEX only supports Xcode/Clang on Mac. See http://www.mathworks.com/support/compilers/R2014b/index.html?sec=maci64

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWrite 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