Very simple code,
the script creates a small gui, placed a the left corner of the screen with a single button: debug.
Pressing the button while your code is running will send you instantly (max 1 sec delay) to debug mode.
continue running by typing "return" in the command window.
A Millo (2021). Run-time instant debug mode (https://www.mathworks.com/matlabcentral/fileexchange/35386-run-time-instant-debug-mode), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
similiar to "Soft interrupting of long computer runs", by Miroslav Balda