Main Content

Setting Up the C or C++ Compiler

MATLAB®Coder™automatically locates and uses a supported installed compiler. For the current list of supported compilers, seeSupported and Compatible Compilerson the MathWorks®website.

You can usemex -setupto change the default compiler. SeeChange Default Compiler. If you generate C++ code, seeChoose a C++ Compiler.