Hi Froid,
I understand that you are facing issues while installing MinGW-w64.
You can install MinGW-w64 compiler in two ways:
1.In MATLAB, on the "Home" tab, click Add-Ons. In the pop-up window, search for the term "mingw" then click "MATLAB Support for MinGW-w64 C/C++ Compiler". Choose the install option and follow the steps for installation.
2.On MathWorks "File Exchange" search for the term "mingw" and select "MATLAB Support for MinGW-w64 C/C++ Compiler". Click the download button. This downloads a "mingw.mlpkginstall" file. Double click this file and follow the steps for installation.
You can further refer to the following answer for a better understanding:
I hope the above information helps resolve your issue.
Thanks