Hi,
You can give a try by installing MinGW-w64 C/C++ Compiler from the following file exchange submission
https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler
If the problem still exists, you can contact the Mathworks support as mentioned in the MATLAB Answer.