MATLAB: Does mex sometimes change its supported compilers from release to release

MATLAB

Are there any technical reasons behind the change from supported compilers? For example, from releases R2017b to R2018a, the supported compiler changed from gcc 4.9 to gcc 6.3 for Linux platforms. Can we still use gcc 4.9 in releases R2018a or newer?

Best Answer

The primary reason for updating the supported compilers is to match the compilers that MathWorks uses to build its products. It is still possible to use the older compiler versions without throwing an error. However, MATLAB will warn if it detects a different compiler version.
Related Question