Specifications
4 Programming GUIs
4-14
Application-Defined Data
Application-defined data provides a way for applications to save and retrieve
data stored with the GUI. This technique enables you to create what is
essentially a user-defined property for an object. You can use this property to
store data.
The application M-file uses application data to store the
handles structure.
When using the GUIDE-generated application M-file, it is simpler to use
guidata than to access application data directly. See Managing GUI Data for
more information.
Functions for Accessing Application Data
The following functions provide access to application-defined data.
Functions for Accessing Application-Defined Data
Function Purpose
setappdata
Specify application data
getappdata
Retrieve named application data
isappdata
True if the named application data exists
rmappdata
Remove the named application data