isappdata
True if application-defined data exists.
📝Syntax
tf = isappdata(h, name)
📥Input Arguments
Parameter Description
h a graphics object.
name a string: the data name.
📤Output Arguments
Parameter Description
tf true if the named data is stored on h.
📄Description

isappdata returns true when application-defined data named name exists on h.

💡Examples
f = figure();
setappdata(gca, 'state', 42);
isappdata(gca, 'state')
🔗See Also
setappdatagetappdata
🕔Version History
Version Description
2.0.0 Initial version.
Edit this page on GitHub