When you have timers and callbacks in your code, it can be difficult to find out when certain errors are occuring. Use DBstack to find the debug stack trace in MATLAB. This will allow you to find out what function called your current function, and what function called that function. This is very important when you have multiple enty points for a given function.
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.