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

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,

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

질문:

2015년 2월 23일

댓글:

2015년 3월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by