I am using Matlab R2013a. The problem appears when I try to use Simulink Coder
to generate Visual C++
code.
I've got this error even though I have Visual Studio 2013
installed on my computer already. When I look at list of programs that are installed on my computer I see Visual C++ 2008, 2010 and 2012. When I type the command mex -setup
Matlab just can see a compiler LCC. But I need a Visual C++ compiler (which , technically, I already have) seen by Matlab.
How can I do that? Isn't mex -setup
the right code?