Matlab 2014b mex switch C compiler from XCode Clang to GCC on Mac
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MING-CHANG CHIU
le 23 Fév 2015
Commenté : MING-CHANG CHIU
le 21 Mar 2015
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 commentaires
Réponse acceptée
Ken Atwell
le 23 Fév 2015
Sorry, MEX only supports Xcode/Clang on Mac. See http://www.mathworks.com/support/compilers/R2014b/index.html?sec=maci64
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!