Dear all,
I have problem in compiling the *.cpp file to *.dll using
the mex command in Matlab.
The error message is displayed as follows:
=======================================================
Error: Could not detect a compiler on local system
which can compile the specified input file(s) at
C:\MATLAB~1\bin\/mexsetup.pm line 586.
??? Error using ==> mex at 206
Unable to complete successfully.
=======================================================
But I already set the compiler in Matlab ( Lcc-win32 C 2.4.1
in C:\MATLAB~1\sys\lcc).
Is there any suggestion?
I'll appreciate it.
Regard,
Javensius Sembiring
lcc is a C compiler, not a C++ compiler. You will have to
run mex -setup again and select a C++ compiler.
James Tursa