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?