MATLAB: Does ishandle(0) return 1

handle graphicshandlesishandle

I'm not too familiar with graphics handles. Hopefully this is a quick question.
Is it to simplify checks when setting or getting defaults, e.g. for set(0,'blah','blah')?

Best Answer

Hi,
yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.
Related Question