Skip to Main Content Skip to Search
Product Documentation

getappdata - Value of application-defined data

Syntax

value = getappdata(h,'name')
values = getappdata(h)

Description

value = getappdata(h,'name') gets the value of the application-defined data with the name specified by name, in the object with handle h. If the application-defined data does not exist, the MATLAB software returns an empty matrix in value.

values = getappdata(h) returns all application-defined data for the object with handle h.

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

isappdata | rmappdata | setappdata

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


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