findobj

Purpose

Find objects with specified properties.

Synopsis

h = findobj('PropertyName',PropertyValue,...)
h = findobj(obj_h,'PropertyName',PropertyValue,...)
h = findobj(obj_h,'flat','PropertyName',PropertyValue,...)
h = findobj
h = findobj(obj_h)

Description

h = findobj('PropertyName',PropertyValue,...) finds all objects with properties matching those specified in the property name/property value list.

h = findobj(obj_h,'PropertyName',PropertyValue,...) restricts the search to objects whose handles are listed in the obj_h vector, as well as the descendants of those objects.

h = findobj(obj_h,'flat','PropertyName',PropertyValue,...) restricts the search to objects whose handles are listed in the obj_h vector. Descendants of these objects are not included.

h = findobj returns a vector of handles of all existing objects, including the root object.

h = findobj(obj_h) returns a vector of handles for the objects specified in obj_h, as well as their descendants.

See Also

 gca,  gcf,  get, set

(c) Copyright 1994 by The MathWorks, Inc.