Skip to Main Content Skip to Search
Product Documentation

setappdata - Specify application-defined data

Syntax

setappdata(h,'name',value)

Description

setappdata(h,'name',value) sets application-defined data for the object with handle h. The application-defined data, which is created if it does not already exist, is assigned the specified name and value. The value can be any type of data.

Tips

Application data is data that is meaningful to or defined by your application which you attach to a figure or any GUI component (other than ActiveX controls) through its AppData property. Only Handle Graphics MATLAB objects use this property.

See Also

getappdata | isappdata | rmappdata

  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS