A few years ago, in this thread I posed a question with the same title about how to avoid having to type dbquit, then dbstack, over and over again, till I get back to the workspace which generated the last error. @WalterRoberson responded with a comment, suggesting the creation of a dbpop command and @PrasadMendu said he would pass on the question to the mathworks development team. I'm hoping that there's been a response from Matlab to resolve the problem. there isn't a dbpop command available, but maybe Matlab has come up with something else??
thanks for any information.