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

9 次查看(过去 30 天)
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?

回答(1 个)

Nathan Gyger
Nathan Gyger 2018-10-15
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!

Translated by