
Controlling Command Window Input and Output
Key
Control Key for
MATLAB Standard
(Emacs) Pre fe rence Operatio n
Ctrl+P Recall previous line. Works only at command line.
Ctrl+N Recall next line. Works only at the prompt if you
previously used the up arrow or Ctrl+P.
Ctrl+B Move back one character.
Ctrl+F Move forward one character.
Ctrl+
None
Move right one word.
Ctrl+
None
Move left one word.
Home
Ctrl+A Move to beginning of current statement.
End Ctrl+E Move to end of current statement.
Ctrl+Home
None
Move to top of Command Window.
Ctrl+End
None
Move to end of Command Window.
Esc
Ctrl+U Clear command line when cursor is at the prom pt.
Otherwise, m ove cursor to the prompt.
Delete Ctrl+D Delete character after cursor.
Backspace Ctrl+H Delete character before cursor.
None
Ctrl+K
Cut contents (kill) to end of command line.
Shift+Home
None
Select from cursor to beginning o f statement.
Shift+End
None
Select from cursor to end of s tatement.
2-33
Komentáře k této Příručce