Creating Graphical User Interfaces    

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.

Note that guidata provides an easy to use interface to application data. 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
Command
Purpose
setappdata
Specify application data
getappdata
Retrieve named application data
isappdata
True if the named application data exists
rmappdata
Remove the named application data


 If You Are Not Using a Handle Structure Designing for Cross-Platform Compatibility