I am using Matlab R2017a. In earlier versions, there used to be an option, while in the debug mode, to switch the workspaces amongst calling functions in order to examine the values of the variables in the respective workspaces. I can not find the control in this current version Matlab R2017a. How does one switch?
The function call stack dropdown is on the editor tab while your program is stopped in the debugger:
You can also use dbstack
, dbup
, and dbdown
to list the stacks and navigate through them via the command window.