Simulink Real-Time compiler installation on 2016b and Windows 10

2 views (last 30 days)
I'm trying to compile a Simulink model for use in Real-Time, however it fails to find a compiler. I have Microsoft Visual C++ Compilers Professional 2015 installed in C:\Program Files (x86)\Microsoft Visual Studio 14.0. If I type slrtsetCC -setup, it does find it. However, it does not use it. When typing mex -setup, Matlab fails to find any compiler.
How can I solve this?

Answers (1)

Nathan Gyger
Nathan Gyger on 15 Oct 2018
You can use the patch found here: Can I use Microsoft Visual Studio 2017 with MATLAB?

Community Treasure Hunt

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

Start Hunting!