Input from keyboard
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.