Metadata provides information about class definitions. Find information about all properties, methods, and events defined by the class without constructing objects of the class.
metaclass |
Obtainmeta.class object |
meta.abstractDetails |
Find abstract methods and properties |
meta.class.fromName |
Returnmeta.class object associated with named class |
meta.package.fromName |
Returnmeta.package object for specified package |
meta.package.getAllPackages |
Get all top-level packages |
properties |
Class property names |
methods |
Class method names |
events |
Event names |
superclasses |
Names of superclasses |
meta.class |
DescribeMATLABclass |
meta.property |
Describe property ofMATLABclass |
meta.method |
Information about class method |
meta.event |
Describe event defined byMATLABclass |
meta.package |
DescribeMATLABpackage |
meta.DynamicProperty |
Describe dynamic property ofMATLABobject |
meta.EnumeratedValue |
Describe enumeration member ofMATLABclass |
meta.MetaData |
Root of the hierarchy of metaclasses |
meta.ArrayDimension |
Size information for property validation |
meta.Validation |
Describes property validation |
meta.FixedDimension |
Fixed dimension in property size specification |
meta.UnrestrictedDimension |
Unrestricted dimension in property size specification |
Metaclasses provide a way to inspect class definitions programmatically.
Class Introspection with Metadata
Inspect class member definitions using metadata.
Find Objects with Specific Values
Metaclasses support methods that enable you to search for objects with properties set to specific values.
Usemeta.property
objects to find detailed information about object properties.
Find Default Values in Property Metadata
Use property metadata to find default values assigned to properties in the class definition.