guidata
Store or retrieve UI data
Description
Note
Storing app data in the UserData
property of the main app figure
is recommended over using guidata
, because it can result in more
readable code. For more information about storing and sharing app data, see Share Data Among Callbacks.
guidata(
stores the specified data in the application data of obj
,data
)obj
if it is a
figure, or the parent figure of obj
if it is another component. For
more information, see How guidata Manages Data.
Examples
Input Arguments
Algorithms
Version History
Introduced before R2006a
See Also
guihandles
| getappdata
| setappdata
| struct