MATLAB Function Reference | ![]() ![]() |
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:
See Also
![]() | javaObject | kron | ![]() |