MATLAB® Coder™ automatically locates and uses a supported installed compiler. For the current list of supported compilers, see Supported and Compatible Compilers on the MathWorks® website.
You can use mex -setup
to change the default
compiler. See Change Default Compiler (MATLAB). If you generate C++ code,
see Choose a C++ Compiler (MATLAB).