Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to debug a Mex-C file?

Status
Not open for further replies.

mfm102

Electrical
Aug 5, 2003
8
0
0
MY
I have a C file with a mex function in it. How to do debugging process for such a file in Matlab? Thank you very much in advance!
 
Replies continue below

Recommended for you

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!

 
Status
Not open for further replies.
Back
Top