9 Examples of GUIDE UIs
delete(handles.figure1)
6 When the UI with the Close button regains control, it receives the string Yes or
No. If the string is 'No', it does nothing. If the string is 'Yes', the Close button
callback closes the UI with the command:
delete(handles.figure1)