
R2010b
12-20
Creating Graphical User Interfaces (GUIs)
Functions and Function Elements Being Removed
The uita/jointfilesconvert/393504/bgroup and uitab GUI components are undocumented features that provide
tabbed panels to GUIs that you create programmatically. The current method of calling
these functions and some of their properties will change in a future release. MathWorks
has never supported their use. However, if your MATLAB code includes these functions,
read the following information:
Function or Function
Element Name
What
Happens
When You
Use the
Function or
Element?
Use This Instead Compatibility Considerations
uita/jointfilesconvert/393504/bgroup('v0',...)
uitab('v0',...)
Warns uita/jointfilesconvert/393504/bgroup(...)
uitab(...)
Using the 'v0' argument generates
a warning, but the object is created.
uita/jointfilesconvert/393504/bgroup property
SelectionChangeFcn
Not
recommended
SelectionChange
Callback
Event data for the callback is still
a struct with fields OldValue and
NewValue but those values are now
uitab handles, not uitab indexes.
uita/jointfilesconvert/393504/bgroup property
SelectedIndex
Not
recommended
SelectedTab Both properties still exist,
but replace instances of
SelectedIndex (an integer tab
index) with SelectedTab (a handle
to a uitab object).
uita/jointfilesconvert/393504/bgroup property
BackgroundColor
Not
recommended
no replacement uita/jointfilesconvert/393504/bgroup now uses the default
uicontrol background color.
uita/jointfilesconvert/393504/bgroup event
SelectionChanged
Errors SelectionChange
event
Event name changed to be
consistent with other components.
Event data is still a struct with
fields OldValue and NewValue
but those values are now uitab
handles, not uitab indexes.
You should update any code that you maintain which uses the undocumented
uita/jointfilesconvert/393504/bgroup and uitab functions to conform to the new standards, as described in the
Commenti su questo manuale