A MATLAB® engine application runs MATLAB as a computational server. MATLAB functions that interact with the user or disrupt program flow are not supported. Examples of such functions include debugging commands, input, keyboard, and pause.
input
keyboard
pause