# MATLAB: How can i space out the code and interact with the prompt

codeexecuteinteractionm-filepromptshortcut

In an m-file when run is clicked all my code executes at the same time, is there any way in which I can space out or delay some code? Also what is the shortcut to enable the m-file to interact with the prompt, for example if the m-file asked a question eg. 12 times 2, and at the prompt the correct answer was given how could I then reply through the m-file? Thanks,

help input
help keyboard
help dbstop