This function prompts the user for an input, pausing the program in the process. The prompt appears as a pop-up. When the user presses the button, the text is returned and the program starts from that point.
name = input('What is your name ? ');
disp('hello ' + name);