0

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.

Amro
  • 123,847
  • 25
  • 243
  • 454
user1558064
  • 867
  • 3
  • 12
  • 28

1 Answers1

1
  1. Debuggers can attach to process (http://www.mathworks.com/help/matlab/matlab_external/debugging-c-c-language-mex-files.html).
  2. Use printf and write tests. I recommend you this because good logging is usually much more useful.
Dmitry Galchinsky
  • 2,181
  • 2
  • 14
  • 15