Clear Filters
Clear Filters

Problem when installing MinGW from Add-Ons

7 views (last 30 days)
Hi everyone !
When I tried to install MinGW from Add-Ons for my MATLAB R2022a, it failed and returned this error:
The support package requires the following products to be installed:
I have no idea why this happened. When I tried to download other toolboxs from Add-Ons everything is quite normal. I haven't seen anyone posting this kind of question in community. Can anyone give me some suggestions? Thank you!

Answers (1)

Infinite_king on 8 Jan 2024
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.

Community Treasure Hunt

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

Start Hunting!