The green arrows hows the line at which MATLAB is currently paused.
how did I get here?
There are several ways to enter debug mode.
- manually place a break point ( gif example, doc page).
- keyboard shortcuts aor functions such as dbstop
- Perhaps you selected one of these condtional error handling options at the bottom of the image below and your code execution triggered a condition
how to I get out?
Options:
- hit shift + F5 to end debug mode
- press F5 to continue execution
- De-select any conditional error handling options in the image above or use dbquit all
These lists are not exhaustive so you may have arrived in this situation differently Check out the documentation for debug mode - it's a powerful tool to learn.