Control paged output for Command Window
A = more(state)
A = more(state) returns in A the number of lines that are currently defined to be a page. The state input can be one of the quoted strings 'on' or 'off', or the number of lines to set as the new page length.
By default, the length of a page is equal to the number of lines available for display in the MATLAB Command Window. Manually changing the size of the command window adjusts the page length accordingly.
If you set the page length to a specific value, MATLAB uses that value for the page size, regardless of the size of the command window. To have MATLAB return to matching page size to window size, type more off followed by more on.
To see the status of more, type get(0,'More'). MATLAB returns either on or off, indicating the more status.
When you have enabled more and are examining output, you can do the following.
Advance to the next line of output.
Advance to the next page of output.
Q (for quit) key
Terminate display of the text. Do not use Ctrl+C to terminate more or you might generate error messages in the Command Window.
more is in the off state, by default.