Using mex for c++ file

I am trying to use mex to compile .cpp file but i got some problem. I do like below : I set up mex :
and use mex
i hope that everybody can help fix this problem.Thanks in advance!

답변 (1개)

James Tursa
James Tursa 2013년 9월 4일

0 개 추천

LCC is a C compiler, not a C++ compiler. You need to select option 3 above (MIcrosoft Visual C/C++) to compile cpp files.

댓글 수: 1

KAKA DOAN
KAKA DOAN 2013년 9월 4일
Thank you for this answer if i do like this

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

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

질문:

2013년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by