# omlpaginate

Sets the pagination mode for the display of matrices, cell arrays, structs, and strings in sequence so it is easily readable.

## Syntax

omlpaginate(mode)

## Inputs

mode
Valid values of pagination mode are:
'on'/'off'
on displays the output in a format that is easily readable, without any user interaction.
interactive
Displays the output in an easily readable format, page-by-page, requiring user input in some cases.
mode also updates the 'Paginate' setting in the user preferences for the GUI. 'Paginate' is set to on by default in Console and GUI applications.
Type: string

## Example

Turn off pagination while displaying matrices:
          omlpaginate('off');
eye(15)
% Entire matrix will be displayed at once

ans = [Matrix] 15 x 15
1  0  0  0  0  0  0  0  0  0  0  0  0  0  0
0  1  0  0  0  0  0  0  0  0  0  0  0  0  0
0  0  1  0  0  0  0  0  0  0  0  0  0  0  0
0  0  0  1  0  0  0  0  0  0  0  0  0  0  0
0  0  0  0  1  0  0  0  0  0  0  0  0  0  0
0  0  0  0  0  1  0  0  0  0  0  0  0  0  0
0  0  0  0  0  0  1  0  0  0  0  0  0  0  0
0  0  0  0  0  0  0  1  0  0  0  0  0  0  0
0  0  0  0  0  0  0  0  1  0  0  0  0  0  0
0  0  0  0  0  0  0  0  0  1  0  0  0  0  0
0  0  0  0  0  0  0  0  0  0  1  0  0  0  0
0  0  0  0  0  0  0  0  0  0  0  1  0  0  0
0  0  0  0  0  0  0  0  0  0  0  0  1  0  0
0  0  0  0  0  0  0  0  0  0  0  0  0  1  0
0  0  0  0  0  0  0  0  0  0  0  0  0  0  1