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

175 visualizaciones (últimos 30 días)
How can I install MinGW compiler for use with Windows 10 SDK?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 2 de En. de 2024
Editada: MathWorks Support Team el 2 de En. de 2024
Note: The Windows 11 SDK is also now supported. If you would like the Windows 11 SDK instead, you may follow the same directions below, as if you were installing the Windows 10 SDK.
To generate Excel add-ins or Generic COM components, you will need a combination of the MinGW 5.3.0 compiler and Windows 10 SDK.
In order to install these, follow the steps below:
  1. Install the "MATLAB Support for MinGW-w64 C/C++ Compiler" support package from the MathWorks File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler
  2. Install Windows 10 SDK from the following page: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
  3. Run the following command in 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

Más respuestas (0)

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by