findobj
Finds all objects which have a property named propertyName and the value for such property is propertyValue.
Syntax
findobj(propertyName, propertyValue, ...)
findobj(handleList, propertyName, propertyValue, ...)
Inputs
- propertyName
- Property name.
- propertyValue
- Value of the property.
- handleList
- Vector of the handles.
Example
Simple findobj example:
findobj('tag', 'user-defined');
Comments
To find objects that satisfy multiple property conditions, specify additional propertyName and propertyValue parameters. The search can be limited to a subset of objects and their descendants by passing a handle or a handles list as the first parameter.