MATLAB: Is the program unable to resume execution when paused to display a plot in zoom mode in MATLAB 7.0 (R14)

enterkeyboardMATLABpauseresumezoom

In my program, I create some graphics, then activate the zoom mode and execute a PAUSE statement followed by some more code. However, when I execute my program, MATLAB does not continue past the PAUSE statement when I press the "Enter" key.

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
A new feature in MATLAB 7.0 (R14) is the ability to use the up/down keys to zoom in and out of a plot, once zoom mode is turned on. If your program uses the command "zoom on" before pausing, the figure will be presented in zoom mode. However, once it is in zoom mode, it does not recognize the Enter key.
We have verified that this is a bug in MATLAB 7.0 (R14) in the way that the zoom mode handles keyboard input.
Currently, to work around this issue, try disabling zoom mode before pausing the program.