MATLAB: How can i put a waiting key between two sections

keywaiting press key

In first code section i have a figure.In second section i have a button extracting area from figure and i want to put a key waiting until press space button.How can i do?

Best Answer

pause()
Related Question