Not able to generate c++ code ?
显示 更早的评论
ERROR LOG:
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 deselect the 'Generate makefile' option. Or, to specify a C++ compiler, enter 'mex -setup' at the command prompt. To generate C code, set the target language to C in the configuration object.
- Compiler able to convert .m to C file, but i need to convert to c++.
- 'Generate makefile' option where is this option present ?
please help
3 个评论
James Tursa
2020-2-5
Do you have a supported C++ compiler installed?
anshuman mishra
2020-2-6
Kojiro Saito
2020-2-10
You can check by
mex -setup c++
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!