I have a controller block designed in Matlab R2013b simulink. I want to generate a c/c++ code of the block by using the 'Build Model' function. However, I keep getting this error:
"An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at: http://www.mathworks.com/support/compilers/R2013b/win64.html MATLAB must be restarted after the compiler is installed."
I downloaded Microsoft Windows SDK for Windows 7 and .NET Framework 4 (supported and Compatible Compilers – Release 2013b). However I am still getting the same error.
Please can anyone suggest a solution?
mex -setupand select the appropriate compiler.