User`s guide

Creating Graphical User Interfaces (GUIs)
18-41
Creating Graphical User Interfaces (GUIs)
New GUI Table Component
The new uitable component allows you to show data in a table. This component
replaces the undocumented MATLAB uitable implementation. If you are using the old
uitable component, please refer to the uitable Migration Document for help migrating
to the supported uitable component.
Event Data Input to GUIDE Callbacks
Auto-generated callbacks of GUIDE GUIs can now access event data for Handle Graphics
callbacks. The following Handle Graphics callbacks provide event data when triggered:
KeyPressFcn in uicontrol and figure
KeyReleaseFcn in figure
SelectionChangeFcn in uibuttonGroup
WindowKeyPressFcn in figure
WindowKeyReleaseFcn in figure
WindowScrollWheelFcn in figure
CellEditCallback in uitable
CellSelectionCallback in uitable
For example, the event data for keypress provides information on the key that is pressed.
See the Callback Templates documentation for more information.
uigetfile and uiputfile Support of '.', '..', and '/'
Starting in R2007b, the uigetfile and uiputfile functions interpret '.', '..',
and '/' the same way as does the cd command. '.' is interpreted as the current
directory, '..' is the directory above the current directory, and '/' is the top level
directory. When specifying a directory rather than a filename for either the Filterspec
or DefaultName argument, you no longer need to end the string with a '/'. However,
such strings ending with a '/' are interpreted as they were in previous releases.