Using mex for c++ file
Mostrar comentarios más antiguos
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!
Respuestas (1)
James Tursa
el 4 de Sept. de 2013
0 votos
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 comentario
KAKA DOAN
el 4 de Sept. de 2013
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
