How can I install MinGW compiler for use with Windows 10 SDK kit?

239 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 13 Apr 2023
Edited: MathWorks Support Team on 19 May 2021
To generate Excel add-ins or Generic COM components, you will need a combination of MinGW 5.3.0 compiler and Windows 10 SDK kit.
In order to install these, follow the steps mentioned below:
  1. Install MinGW-w64 from the MathWorks File Exchange: MATLAB Support for MinGW-w64 C/C++ Compiler.
  2. Install Windows 10 SDK from the Windows Windows 10 SDK .
  3. Run the following command from the MATLAB command window to test if the combination of “MinGW and Windows 10 SDK” is being detected by MATLAB.
mbuild -setup -client mbuild_com

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!