My situation is I am trying to debug my dll (written in c) which is get called by another c code which is wrapped into a mex file. Is there a way to do it? Thanks.
Asked
Active
Viewed 91 times
0
-
what OS/platform are you on? – Amro May 29 '13 at 21:57
1 Answers
1
- Debuggers can attach to process (http://www.mathworks.com/help/matlab/matlab_external/debugging-c-c-language-mex-files.html).
- Use
printf
and write tests. I recommend you this because good logging is usually much more useful.

Dmitry Galchinsky
- 2,181
- 2
- 14
- 15