I'm having the same issue - installing mingw. I have Microsoft Visual C++ 2017, Microsoft Visual C++ 2015, Microsoft Visual C++ 2013... installed already on my machine; yet matlab can't find any: it give the following error:
"No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. "
please share solution if found