
3 Running Functions — Command Window and History
set(f, 'paperUnits', 'centimeters'
because centimeters istheonlypossiblecompletion.
Keyboard Shortcuts in the Command Window
Following is the list of arrow and control keys that serve as shortcuts for using
the Command Window. In addition to these shortcut keys (so m etimes called
hot keys), you can use shortcuts for menu items, which you can view o n the
menus, as well as g eneral desktop shortcuts described in “Keyboard Shortcuts”
on page 2-40. If you select the Emacs (MATLAB standard) preference for
key bindings (see “Command Window Key Bindings” on page 3-44 for an
explanation), you can also use the Ctrl+key com binations shown in the table.
Key or
Mouse
Action for
Windows
Preference
Control
Key for
MATLAB
standard
(Emacs)
Preference
Key or Mouse
Action for
Macintosh
Preference Operation
Ctrl+P Recall previous line — for details, s ee
“Recalling Previous Lines” on page 3-19.
See also “Command History Window” on
page 3-49, which is a log of previously
used functions, and “Keeping a Session
Log” on page 3-33.
With the Accessibility preference
selected, moves the cursor up a line wh en
it is above the promp t. In that event,
use Ctrl+
to recall previous lines for
Windows and Macintosh key bindings.
3-26
Komentáře k této Příručce