Creating Graphical User Interfaces Previous page   Next Page

Managing Application Data

Application data provides an alternative to GUI data (see Managing GUI Data with the Handles Structure) for applications to save and retrieve data associated with an object. The data is stored as name/value pairs. Application data enables you to create what are essentially user-defined properties for an object. You can define application data for your GUI by associating name/value pairs with the GUI figure object.

Functions for Accessing Application Data

The following functions provide access to application data.

Functions for Accessing Application-Defined Data
Function
Purpose
setappdata
Specify named application data
getappdata
Retrieve named application data
isappdata
True if the named application data exists
rmappdata
Remove the named application data


Previous page  Managing GUI Data with the Handles Structure Designing for Cross-Platform Compatibility Next page

© 1994-2005 The MathWorks, Inc.