How to debug C Mex files in Matlab without in built compiler
1 view (last 30 days)
Show older comments
I have Cygwin compiler in my system.how debug C mex files in matlab with this compiler. please can anyone help me.plz
0 Comments
Answers (1)
Titus Edelhofer
on 24 May 2011
Hi,
take a look at the instructions for how to debug mex files in Linux, see http://www.mathworks.com/support/tech-notes/1600/1605.html#debug_unix
Titus
2 Comments
Titus Edelhofer
on 25 May 2011
I know. First of all: why do you use cygwin instead of lcc? Second, when you use cygwin (i.e., the gnu compiler), debugging using gdb from cygwin should work similarly to using gdb on a linux machine, that's what I tried to point out ...
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!