more
Control paged output in Command Window
Description
more on
enables paging of the output in the MATLAB® Command Window. When paging is enabled, MATLAB displays output one page at a time.
To advance to the next page of output, press the Space key.
To advance to the next line of output, press the Return key.
To stop displaying the current output, press the Q key. Do not use Ctrl+C to exit
more
, otherwise MATLAB can return an error.
more off
disables paging of the output in the Command Window.
By default, paging is disabled.
more(
enables paging and sets the page
length to n
)n
lines.
By default, the length of a page is equal to the number of lines available for display in the MATLAB Command Window. 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 restore the default page length, run the command more off
followed by the command more on
.
A = more(___)
returns the current page size in
number of lines. You can use this syntax with any of the input argument combinations
in the previous syntaxes.
Examples
Input Arguments
Tips
To see the status of
more
, typeget(0,'More')
. MATLAB returns eitheron
oroff
, indicating whether paging of the output is enabled or disabled.
Version History
Introduced before R2006a