A generalised illustration of how (visual) function execution can be paused and then resumed.
This is a crucial component when:
1) Wishing to view data at a specific point in time.
2) Multi-tasking.
3) Working under Windows where breaking a running task is difficult.
Roy Schestowitz (2021). Pause / Resume (https://www.mathworks.com/matlabcentral/fileexchange/4996-pause-resume), 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.
Works very nicely, without flickering, but needs relatively recent Matlab version (don't know exactly which). I'm looking for something similar but: a) With any keyboard stroke toggling between pause and resume; b) Simpler and running on older Matlab versions (say 5.3). (I tried using GETKEYWAIT, by Jos van der Geest, but lots of flickering...)