keyboard

Input from keyboard

Syntax

keyboard

Description

keyboard , when placed in a program .m file, 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. This keyboard mode is useful for debugging your functions.

To terminate the keyboard mode, type return, and then press Enter. To terminate keyboard mode and exit the function, type dbquit, and press Enter.

See Also

| | | |

Was this topic helpful?