MinGW installation for Matlab R2019a

10 views (last 30 days)
Sumam David
Sumam David on 1 Apr 2019
Answered: Walter Roberson on 6 Feb 2025
I downloaded MinGW from the download link in https://in.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler. When I try installing it I get the error message "MinGW-w64 a C/C++ compiler from TDM-GCC is not available for this release of MATLAB". How do I install ?

Answers (2)

Tridib
Tridib on 6 Feb 2025
Installing the "MinGW" add-on via the "Support Software Downloader" can assist in resolving installation problems.
  1. Visit the official website and download the "Support Software Downloader" tool. (https://in.mathworks.com/support/install/support-software-downloader.html)
  2. Open the tool and follow the on-screen instructions carefully.
  3. From the list of available software, choose the "MinGW" add-on. Follow the tool's guidance to complete the installation process.
  4. After installation, ensure "MinGW" is installed correctly by running a sample code or checking the installation directory.
This approach will help ensure you have the right and compatible version of "MinGW" for your setup.
Hope this helps!

Walter Roberson
Walter Roberson on 6 Feb 2025
You were trying to install MinGW for R2019a during a time when R2019a was only available in pre-release (Stream "a" releases of MATLAB are officially released in mid June.)
At the time or R2019a, support packages were not available for pre-release.
The situation has changed since R2019a; in the most recent few MATLAB releases (starting approximately R2024a), support packages are available during the pre-release time-frame.

Community Treasure Hunt

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

Start Hunting!