Change Default gcc Compiler on Linux System - MATLAB & Simulink (original) (raw)

Main Content

MATLAB® supports only one compiler for each language on Linux® platforms. If you have multiple compilers installed, the default compiler might not be a compiler that MATLAB supports. To determine the default gcc compiler for your system, in MATLAB, type:

To change the default compiler, choose one of these options.

Note

The mex -setup command does not change the default compiler on Linux.

External Websites