When I try to generate code using simulink coder I see the following error:
The specified code generation target is configured to generate C++, but the C-only compiler, LCC, is the default compiler. To allow code generation, you can select any C++ compiler from the Toolchain pulldown as well as selecting the 'Generate code only' option. To generate C code, open the Configuration Parameters dialog and set the target language to C. Or, to specify a C++ compiler, enter 'mex -setup' at the command prompt. For details on supported C++ compiler versions, see http://www.mathworks.com/support/compilers/current_release
I want just generate C++ code only, do not use any compilers. I have activated this option. I think the reason of this error is "generate makefile" option, that is enabled. But it is read only and I can't deactivate it. How can I generate C++ code without using any compilers?