In changeme_main.m, the buttonChangeMe_Callback function executes this
command to display the second dialog box:
changeme_dialog('changeme_main', handles.figure)
The handles.figure input argument is the Figure object for the changeme_main
dialog box.
The changeme_dialog function retrieves the handles structure from the Figure
object. Thus, the entire set of components in the changeme_main dialog box is available
to the second dialog box.
GUIDE Example: Share Data Among Three Apps
Here is a prebuilt GUIDE app that uses guidata and UserData to share data among
three app windows. The large window is an icon editor that accepts information from the
tool palette and color palette windows.
Share Data Among Callbacks