Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

home

Send cursor home

Syntax

home

Description

home moves the cursor to the upper-left corner of the window. When using the MATLAB® desktop, home also scrolls the visible text in the window up and out of view. You can use the scroll bar to see what was previously on the screen.

Examples

Execute a MATLAB command that displays something in the Command Window and then run the home function. home moves the cursor to the upper-left corner of the screen and clears the screen.

magic(5)

ans =

    17    24     1     8    15
    23     5     7    14    16
     4     6    13    20    22
    10    12    19    21     3
    11    18    25     2     9

home

See Also

Introduced before R2006a

Was this topic helpful?