How to check the function call stack during the debugging process
5 views (last 30 days)
Hello, I want to know about the method of checking function call stack.
I tried to use dbstack, but I think it responds to me a single stack of function call.
What I want to know is all ( not need to all but as much as matlab can ) stack of function call.
Can you help me?
Image Analyst on 1 Jul 2022
Look at the top of your editor window. It's basically right above the source code.
Walter Roberson on 1 Jul 2022
What you might be running into is that callback functions are considered to not have a calling function. Each callback is executed in the context of the base workspace, with no parent. This is because callbacks are asynchronous, and "triggered" rather than "called"