MATLAB Answers

1

How do I install MinGW for use in MATLAB?

How do I install MinGW for use in MATLAB?
 

Products


Release

R2016b

3 Answers

Answer by MathWorks Support Team on 4 Oct 2017
Edited by MathWorks Support Team on 4 Oct 2017
 Accepted Answer

MATLAB only supports specific versions of MinGW. R2017b supports MinGW 5.3, while R2017a and prior support MinGW 4.9.2. Other versions of MinGW downloaded from third party sources are not qualified to work with MATLAB. Installation instructions for the various release follow:
R2015b and R2016a
Download the MinGW installer from the link below:
This installer requires a MathWorks account and involves registration/configuration after the installation, which will allow MATLAB recognize MinGW. 
R2016b - R2017b
Search for "MATLAB Support for the MinGW-w64 C/C++ Compiler from TDM-GCC" in the MATLAB Add-ons menu. You can then install the support package from the Add-on explorer.
More information on accessing the Add-ons menu can be found in the following link:
 

  7 Comments

i have the same problem
hello
i have matlab 2014a can you help me to get the MinGW-w64 C/C++ Compiler?

Sign in to comment.



Answer by Afaf Saad on 23 Sep 2018

am trying to install the mingw but there is error during the install, can anyone help ? i downloaded from here :https://sourceforge.net/projects/mingw-w64/

  1 Comment

Sign in to comment.