>> mex -setup

4 visualizaciones (últimos 30 días)
Asim Muhammad
Asim Muhammad el 29 de Ag. de 2016
Respondida: Yash el 3 de En. de 2025
>> mex -setup Error using mex No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2016a/win64.html.
  1 comentario
Azzi Abdelmalek
Azzi Abdelmalek el 29 de Ag. de 2016
And What is your problem?

Iniciar sesión para comentar.

Respuestas (1)

Yash
Yash el 3 de En. de 2025
Hi Asim,
As the error clearly states, the "mex" command requires MinGW compiler which is not found on your machine. To install the compiler, use the Add-Ons menu.
  • On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Add-Ons.
  • Search for MinGW or select from Features.
  • Install the MATLAB Support for MinGW-w64 C/C++/Fortran Compiler
Given below is the link for the same:

Categorías

Más información sobre Troubleshooting in MATLAB Compiler SDK en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by