No supported compiler was found.
106 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nicolas Bourbaki
el 8 de Abr. de 2019
Comentada: Walter Roberson
el 1 de Dic. de 2020
Upon trying to compile a file using mex, I receive the following error message:
Error using mex
No supported compiler was found.
I installed Visual Studio 2017 with support for C++ and actually
mex -setup C++
lets me choose my compiler.
Which additional diagnostics could I run in order to pin down the problem?
6 comentarios
Nicolas Bourbaki
el 1 de Dic. de 2020
Editada: Nicolas Bourbaki
el 1 de Dic. de 2020
Walter Roberson
el 1 de Dic. de 2020
By the way, Visual Studio does not install the C compiler by default.
Respuesta aceptada
Matt J
el 8 de Abr. de 2019
If you just run
>> mex -setup
it should present you with the compilers that Matlab can actually see. That should provide a clue.
1 comentario
Walter Roberson
el 8 de Abr. de 2019
mex -v -setup
can help diagonse problems.
Más respuestas (0)
Ver también
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!