Hi Jianfeng Zeng,
I understand that you are unable to install the 'MinGW' from the Add-On Explorer.
It seems like MATLAB is not recognizing that it is already installed on your system. This could be due to various reasons, such as a misconfiguration or an issue with the MATLAB installation. Follow the below troubleshooting steps to resolve the issue,
- Restart MATLAB and try to install 'MinGW' again.
- Check whether MATLAB is correctly added to your system's PATH environment variable.
- To check the system path variables on Windows, follow these steps.
1. In the system search dialog box, enter 'Edit the system Environment Variables'.
2. Select the first option titled ''Edit the system Environment Variables'.
3. It will open the system properties window, at the bottom right, select 'Environment Variables.'
4. In the 'System Variables' section double click on 'Path' variable.
5. Go through the list and verify whether the MATLAB installation path is present.
6. If the installation path is not present, add the path.
Note :- Create a backup of MATLAB settings and data before making significant changes.
Hope this is helpful.