Main Content

gcbf

Handle of figure containing object whose callback is executing

Syntax

无花果= gcbf

Description

无花果= gcbfreturns the handle of the figure that contains the object whose callback is currently executing. This object can be the figure itself, in which case,gcbfreturns the figure's handle.

When no callback is executing,gcbfreturns the empty matrix,[].

The value returned bygcbfis identical to thefigureoutput argument returned bygcbo.

See Also

|||

Introduced before R2006a