# keyboard

## Purpose

Invoke the keyboard as an M-file.

## Synopsis

    keyboard

## Description

`keyboard` invokes the keyboard as if it were a script M-file. When placed in an M-file, `keyboard` stops execution of the file and gives control to the keyboard. The special status is indicated by a `K` appearing before the prompt. You can examine or change variables; all MATLAB commands are valid.

Executing the command `return` terminates the keyboard mode. Type the six letters

    return

then press the Return key.

## See Also

    dbstop, debug, input, quit

(c) Copyright 1994 by The MathWorks, Inc.