How do I tell MATLAB to use MinGW C++ compiler instead of MSVC?

I just installed the MinGW C++ compiler add-on.
When I run some Simulink simulation from the CygWin command line, MATLAB tries to use the Microsoft C++ compiler which I also have on my system.
How do I tell MATLAB to use MinGW C++ compiler?

Produits

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by