Using mex for c++ file

2 ビュー (過去 30 日間)
KAKA DOAN
KAKA DOAN 2013 年 9 月 4 日
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 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by