Creating Graphical User Interfaces    

Renaming Application Files and Tags

It is often desirable to use descriptive names for component Tag properties and callback subfunction names. GUIDE assigns a value to the Tag property of every component you insert in your layout (e.g., pushbutton1) and then uses this string to name the callback subfunction (e.g., pushbutton1_Callback).

It is generally a good practice to select the tags and filenames before activating or saving your GUI for the first time.

Using Save As

When you select Save As from the Layout Editor File menu, GUIDE also renames the application M-file and resets the Callback properties to properly execute the callbacks.

Getting Everything Right

If you make changes after GUIDE has generated the M-file and FIG-file, you must ensure that your code incorporates these changes. This section describes:


 Waiting for User Input Changing Component Tag Properties