Can I debug Matlab Code started via Matlab engine?
I try to run and debug a script file from the matlab engine. Using breakpoints in my C++ program, I could open a Matlab editor and set a breakpoint in my script. When I continue the C++ program, the breakpoint gets hit, but Step through or similar commands do not work (as well as inspect variables or continu开发者_如何学编程e running). Is there any way to debug the code?
Thanks, Philipp
Can you clarify the relationship between Matlab and C++ in the situation you are dealing with? Because you mention C++, it seems you are not simply trying to debug a Matlab function or script using the Matlab debugger, correct?
(If you are new to Matlab and/or its debugger make sure to type 'doc debug' and familiarize yourself with the commands.)
Maybe I don't understand the question, but the Matlab editor has the usual debug command buttons like step over, into etc.
精彩评论