Stop MATLAB execution temporarily
pause
temporarily stops MATLAB® execution
and waits for the user to press any key. The pause
function
also temporarily stops the execution of Simulink® models, but
does not pause their repainting.
Note:
If you previously disabled the pause setting, reenable it using |