
Managing GUI Data with the Handles Structure
4-29
Application Data
Application 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 GUI M-file uses application data to store the
handles structure.
When using the GUIDE-generated M-file, it is simpler to use
guidata than to
access application data directly.
Functions for Accessing Application Data
The following functions provide access to application 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
Kommentare zu diesen Handbüchern