Navigation

Operators and Keywords

Function List:

C++ API

: data = guidata (h)
: guidata (h, data)

Query or set user-custom GUI data.

The GUI data is stored in the figure handle h. If h is not a figure handle then it’s parent figure will be used for storage.

data must be a single object which means it is usually preferable for it to be a data container such as a cell array or struct so that additional data items can be added easily.

See also: getappdata, setappdata, get, set, getpref, setpref.

Package: octave