home
Send cursor home
Syntax
Description
home
moves the cursor to the upper-left corner of the Command
Window. home
also scrolls all visible text in the Command
Window out of view, giving the appearance of clearing the screen without deleting
any text. After running the home
command, you can use the
scroll bar to view the previously displayed text.
Use home
in a MATLAB® code file to always display output in the same starting position on
the screen without clearing the Command Window.
Examples
Version History
Introduced before R2006a