User`s guide

15 Examples of GUIs Created Programmatically
Automatically number list items and renumber them as needed (or not)
Give seve ral uicontrols the same callback and invoke callbacks from other
functions
View and Run the List Master Code
TheListMasterexampleincludesonecodefile,twoMAT-filesandatextfile:
listmaster.m The GUI code file, containing all required subfunctions
listmaster_icons.mat Three icons, used as CData for push buttons
senators110cong.mat A cell array containing p ho ne book entries f or
United States senators
senators110th.txt A text file containing the same data as
senators110cong.mat
List Master looks for the listm aste r_icons.mat MAT-file wh en creating a
new GUI (from File > New menu). The files
senators110cong.mat and
senators110th.txt are not required to create or operate a GUI; you can
use either one to populate a new List Master GUI with data using File >
import list.
If you are reading this example in the MATL AB Help browser, you can access
its code files by clicking the following links. If you are reading on the Web
or in a PDF, go to the corresponding section in the MATLAB Help Browser
to use the links.
If you i ntend to modify the layout or code of this GUI example, you should first
save a copy of its files in y our current folder (Yo u need write access to yo ur
current folder to do this.) Click on the following links to copy the example files
to your current folder and open them.
1 Click here to copy the four files f or List Master to your current folder
2 edit lis tmas ter or Click here to open the GUI code file in the Editor
3 edit sen ator s110th.txt or Click here to display the senators110th.txt
sample data file in the MATLAB Editor.
15-36