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.
  1. Compiler able to convert .m to C file, but i need to convert to c++.
  2. 'Generate makefile' option where is this option present ?
please help

3 Kommentare

James Tursa
James Tursa am 5 Feb. 2020
Do you have a supported C++ compiler installed?
anshuman mishra
anshuman mishra am 6 Feb. 2020
I'm not sure. how to check ?
You can check by
mex -setup c++

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Gefragt:

am 4 Feb. 2020

Kommentiert:

am 10 Feb. 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by