User`s guide
10 Examples of GUIDE GUIs
Note Do not save GUI files to the examp les folder where you found them
or you will overwrite the original files. If you want to save G U I files, use
File > Save as from G UIDE, which saves both the GUI FIG-file and the
GUI code file.
Summary of tablestat Functions
The following table describes a ll the functions in tablestat.m, indicates what
they do, and whether GUIDE created declarations for them or not. As the
third column indicates, most of the callbacks generated by GUIDE have been
customized. Click any function name to view its code in the MATLAB E ditor.
Function Name
Function Behavior
GUIDE-
Generated?
tablestat
Main function
Yes; not
customized
tablestat_OpeningFcn
Adds member to handles, generates population
statistics and plots
Yes
tablestat_OutputFcn
Returnsvalueswhentablestat exits (not use d)
Yes; not
customized
data_table_
CellSelectionCallback
Transforms table indices into unique row
numbers, generates selection statistics an plot
Yes
plot_type_Callback
Refreshes displays w hen user selects new plot
type
Yes
plot_type_CreateFcn
Manages appearance of pop-up menu during its
creation
Yes; not
customized
plot_ax1_Callback
Creates new figure with copy of axe s1 plot i n it
Yes
plot_ax2_Callback
Creates new figure with copy of axe s2 plot i n it
Yes
refreshDisplays
Controls updating of data statistics table and
plots
No
setStats
Computes statistics for population or selection
No
10-34