MATLAB Function Reference
  Go to function:
    Search    Help Desk 
keyboard    See Also

Invoke the keyboard in an M-file

Syntax

Description

keyboard , when placed in an 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 M-files.

To terminate the keyboard mode, type the command:

then press the Return key.

See Also

dbstop      Set breakpoints in an M-file function

input       Request user input

quit        Terminate MATLAB

return      Terminate keyboard mode



[ Previous | Help Desk | Next ]