- VS 2019 was added to R2019b (appears to be missing from the error message).
- VS 2022 is planned for R2022a update 1. This and other releases subject to change.
Microsoft Visual Studio 2022 set up as default C and C++ compiler in Matlab 2021a
171 views (last 30 days)
Federico Flores Richaud on 22 Mar 2022
That´s my need. It´s installed but Matlab doesn´t know that it is.
if I put: mex -setup, Microsoft visual studio doesn´t appear.
Thank you very much for helping!
What must I do in order to set Visual Studio as the Matlab C and C++ Compiler?
My default Compiler now is mingw64-g++ but I want to generate an audio plugin and it can´t be compiled, this is the message:
"Error using generateAudioPlugin
Toolchain 'MinGW64 Compiler (C++)' is not supported for generating audio plug-ins. Use one
of the following:
Microsoft Visual C++ 2017
Microsoft Visual C++ 2015."
Visual C++ is already installed in my desktop but how can I integrate it to MATLAB in order to be the compiler in use with it?
Jimmy Lapierre on 29 Mar 2022
Plugin generation is part of the Audio Toolbox, which does not support MinGW. For plugins:
For the latest, check the supported compilers page, including the link in the top right corner for previous releases.