MATLAB: What is the expected behavior when a PAUSE command has been issued

MATLAB

I would like to know which components will execute during a PAUSE command.

Best Answer

This enhancement has been incorporated in Release 2006b (R2006b). For previous product releases, read below for any possible workarounds:
The expected behavior when a PAUSE command has been issued is for the currently executing MATLAB file to suspend execution until the PAUSE command times out or the user presses the Enter key.
While paused, the following should still execute:
1. Repainting of figure windows and block diagrams
2. HG callbacks from figure windows
3. Java events from windows