Using mex for c++ file
2 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
