how to use "MEX" to compile CPP program
The steps i followed was
step 1: i executed 'mex -setup' and configured Microsoft visual studio
as the compiler .
step 2 : then after i executed my ".cpp" program but it is giving me
the follwing error , for C and CPP programs
C:\MATLAB7\BIN\WIN32\MEX.PL: Error: Compile of 'hello.c' failed.
??? Error using ==> mex
Unable to complete successfully
Please help me in this regard .
When i select "Lcc C version 2.4 in C:\MATLAB7\sys\lcc " this compiler
my C program is executing .