Adding GCC compiler to MATLAB 2016a on Mac OS Sierra

I have XCode 8 and Matlab 2016a installed on Mac OS Sierra.
When I run mex -setup it shows me the Clang compiler for both C and C++. However, I have installed GCC using macports, and I would like to use it with mex. How do I add it to the list of compilers?

Answers (0)

Categories

Products

Asked:

on 16 Feb 2017

Community Treasure Hunt

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

Start Hunting!