Clear Filters
Clear Filters

VisualStudio 2019 compiler not detected on installation

4 views (last 30 days)
On installation of Matlab R2020a I got a message, that the Matlab- and the Simulink Coder needs a supported compiler.
I have a VisualStudio 2019 installed on my machine, so I assume that the installer doesn't detect it by some reasons. Is there any way to configure Matlab afterwards to use the VisualStudio Compiler?

Accepted Answer

Walter Roberson
Walter Roberson on 4 May 2020
The installation process makes no effort to find a support compiler: it just tells the user that one will be needed.
To configure the compiler,
mex -setup
mex -setup C++

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!