MATLAB Support for MinGW-w64 C/C++/Fortran Compiler
Install the MinGW-w64 C/C++ compiler for Windows
929.1K Downloads
Updated
20 Mar 2024
Editor's Note: Popular File 2016 2017 2018
2019
2020
This support package is currently unable to download third-party software for MATLAB R2017a and earlier versions. To install MinGW, complete the workaround instructions in the Bug Report, then return to this page and follow the instructions for R2017b and later.
MATLAB R2017b and later versions are unaffected.
MinGW-w64 is a compiler suite for Windows based on the GNU tool chain. It includes a GCC compiler and related tools for compiling C and C++ applications for Windows. C and C++ applications compiled with MinGW-w64 GCC can be called from MATLAB using MEX. This GCC compiler can also be helpful for other MathWorks products that require a C or C++ compiler.
FAQ: This link provides answers to some frequently asked questions.
See additional information on installing this compiler at:
http://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html
Learn more about other compilers supported by MathWorks Products at:
https://www.mathworks.com/support/requirements/supported-compilers.html
If you are having difficulty installing, please contact Technical Support or see MATLAB Answers:
https://www.mathworks.com/support/contact_us.html
https://www.mathworks.com/matlabcentral/answers/?term=mingw
MATLAB Release Compatibility
Created with
R2015b
Compatible with R2015b to R2024a
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) LinuxCategories
Find more on Java Package Integration in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: YOKOGAWA GM10 communication interface
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.