thanks Joe3,
I'm using gcc compiler on unix SGI platform, matlab version 6.1, release 12. I still can't figure out how to do this debugging process on unix
what i know is (as u said) by typing this command on unix
>>mex -g somefile.c
then what should i do? How am I going to insert the breakpoint in the C file?
Cheers!