Not able to generate c++ code ?

35 vues (au cours des 30 derniers jours)
anshuman mishra
anshuman mishra le 4 Fév 2020
Commenté : Kojiro Saito le 10 Fév 2020
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 commentaires
anshuman mishra
anshuman mishra le 6 Fév 2020
I'm not sure. how to check ?
Kojiro Saito
Kojiro Saito le 10 Fév 2020
You can check by
mex -setup c++

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by