Main Content

Class Introspection and Metadata

Get detailed information about classes from class metadata

Metadata provides information about class definitions. Find information about all properties, methods, and events defined by the class without constructing objects of the class.

Functions

metaclassObtain matlab.metadata.Class object
matlab.metadata.abstractDetailsFind abstract methods and properties
matlab.metadata.Class.fromNameReturn matlab.metadata.Class object that describes named class
matlab.metadata.Namespace.fromName Return matlab.metadata.Namespace object for specified namespace
matlab.metadata.Namespace.getAllNamespacesGet all top-level namespaces
propertiesClass property names
methodsClass method names
ismethodDetermine if object has specified method
eventsEvent names
superclassesNames of superclasses

Classes

matlab.metadata.ClassDescribe MATLAB class
matlab.metadata.PropertyDescribe property of MATLAB class
matlab.metadata.MethodDescribe MATLAB class method
matlab.metadata.EventDescribe event defined by MATLAB class
matlab.metadata.NamespaceDescribe MATLAB namespace
matlab.metadata.DynamicPropertyDescribe dynamic property of MATLAB object
matlab.metadata.EnumerationMemberDescribe enumeration member of MATLAB class
matlab.metadata.MetaDataRoot of metadata class hierarchy
matlab.metadata.ArrayDimension Size information for property validation
matlab.metadata.Validation Describes property validation
matlab.metadata.FixedDimension Fixed dimension in property size specification
matlab.metadata.UnrestrictedDimension Unrestricted dimension in property size specification

Topics