Desktop Tools and Development Environment Previous page   Next Page

Format, Display, and Accessibility Preferences

Text Display

Specify the format, that is, how output appears in the Command Window.

Numeric format.   Specify the output format of numeric values displayed in the Command Window. This affects only how numbers are displayed, not how MATLAB computes or saves them. The format reference page includes the list of available formats, with examples.

Numeric display.   Specify spacing of output in the Command Window. To suppress blank lines, use compact. To display blank lines, use loose. For more information, see the reference page for format.

Display

Wrap lines.   Select to make a single line of input or output in the Command Window break into multiple lines in order to fit within the current width of the Command Window. This is useful for console mode. With this option selected, an entire line is visible without scrolling, and the horizontal scroll bar does not appear because it is not needed.

Limit matrix display width to eighty columns.   When selected, MATLAB displays only 80 columns of matrix output, regardless of the width of the Command Window. Clear the check box if you make the Command Window wider than 80 columns and want matrix output to fill the width of the Command Window. See also the display reference page.

To determine the number of columns and rows that will display in the Command Window, given its current size, use

get(0,'CommandWindowSize')

With the matrix display width preference cleared, the number of columns is based on the width of the Command Window. With the preference set to 80 columns, the number of columns is always 80.

Number of lines in command window scroll buffer.   Set the number of lines maintained in the Command Window, from 1,000 to 25,000. This is the number of lines you can see when you scroll vertically. A larger buffer means you can view more lines and it provides a larger base for search features, but requires more memory.

This preference setting does not impact the number of lines you can recall when you use the up arrow key in the Command Window. Using the up arrow key, you can recall all lines shown in the Command History window, regardless of how many lines you can see in the Command Window.

Hyperlink color.   Select the color for hyperlinks that display in the Command Window, such as links to line numbers in M-files that appear when you run an M-file containing a warning. Hyperlinks in error text use the colors preference for errors. For more information about hyperlinks in the Command Window, see Hyperlinks for Running Functions.

Accessibility

Select this option to use the up and down arrow keys to move the cursor when it is above the command line. With this preference selected, use the Ctrl+ up arrow or down arrow key to recall statements for Windows and Macintosh key bindings, or Ctrl+P and Ctrl+N for Emacs (MATLAB standard) key bindings.

Clear this preference to use the up and down arrow keys to recall statements. Use the mouse and other features to move the cursor when above the command line.


Previous page  Preferences for the Command Window Keyboard and Indenting Preferences for the Command Window Next page

© 1994-2005 The MathWorks, Inc.