Skip to Main Content Skip to Search
Product Documentation

findprop (handle) - Find meta.property object associated with property name

Syntax

p = findprop(h,'Name')

Description

p = findprop(h,'Name') returns the meta.property object associated with the property Name of the object h. Name can be a property defined by the class of h or a dynamic property defined only for the object h.

Examples

Use findprop to view property attribute settings:

findprop(containers.Map,'Count')

ans = 

  meta.property handle
  Package: meta

  Properties:
                   Name: 'Count'
            Description: 'Number of pairs in the collection'
    DetailedDescription: ''
              GetAccess: 'public'
              SetAccess: 'private'
              Dependent: 1
               Constant: 0
               Abstract: 0
              Transient: 1
                 Hidden: 0
          GetObservable: 0
          SetObservable: 0
               AbortSet: 0
              GetMethod: []
              SetMethod: []
          DefiningClass: [1x1 meta.class]

  Methods, Events, Superclasses

See Also

findobj (handle) | handle | meta.property

How To

  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS