I checked and selected the compiler using
>> mex -setup
The result is "MEX configured to use 'MinGW64 Compiler (C++)' for C++ language compilation."
The same is shown for C.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!