Not able to generate c++ code ?

조회 수: 9 (최근 30일)
anshuman mishra
anshuman mishra 2020년 2월 4일
댓글: Kojiro Saito 2020년 2월 10일
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
anshuman mishra
anshuman mishra 2020년 2월 6일
I'm not sure. how to check ?
Kojiro Saito
Kojiro Saito 2020년 2월 10일
You can check by
mex -setup c++

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by