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,

Más respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Feb. de 2015

Comentada:

el 21 de Mzo. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by