Why is MATLAB 2018b unable to find the Microsoft Visual C++ compiler after installing Microsoft Visual Studio 2019 community?
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I installed Microsoft Visual Studio 2019 community, however "mex -setup" still does not successfully find the Microsoft Visual C++ 2015 compiler. This can be seen from the following output snippet of running the command "mex -v -setup":
>> mex -v -setup
Verbose mode is on.
Did not find installed compiler 'Intel Parallel Studio XE 2015 with Microsoft Visual Studio 2015 (C)'.
Did not find installed compiler 'Intel Parallel Studio XE 2016 with Microsoft Visual Studio 2015 (C)'.
Did not find installed compiler 'Intel Parallel Studio XE 2017 with Microsoft Visual Studio 2015 (C)'.
Did not find installed compiler 'Intel Parallel Studio XE 2017 with Microsoft Visual Studio 2017 (C)'.
Did not find installed compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2015 (C)'.
Did not find installed compiler 'Intel Parallel Studio XE 2018 with Microsoft Visual Studio 2017 (C)'.
Found installed compiler 'MinGW64 Compiler (C)'.
Did not find installed compiler 'Microsoft Visual C++ 2013 (C)'.
Did not find installed compiler 'Microsoft Visual C++ 2015 (C)'.
Did not find installed compiler 'Microsoft Visual C++ 2017 (C)'.
Visual Studio 2019 community components (russian):
Which component to add? Answer details, pleas.
0 comentarios
Respuestas (1)
Guillaume
el 4 de Jun. de 2019
See https://www.mathworks.com/support/requirements/previous-releases.html for the list of supported compilers for each version of matlab. R2018b does not support VS 2019 (It does support 2017) and it's still not supported as of 2019a.
You will have to downgrade to VS2017 I'm afraid (or wait for it to be supported in a future release of matlab).
2 comentarios
Ver también
Categorías
Más información sobre MATLAB Support for MinGW-w64 C/C++ Compiler 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!