Main Content

matlab.metadata.MetaData Class

Namespace: matlab.metadata
Superclasses: matlab.mixin.Heterogeneous

Root of metadata class hierarchy

Renamed from meta.MetaData in R2024a

Description

The matlab.metadata.MetaData class forms the root of the metadata class hierarchy. Metadata objects represent MATLAB® class definitions and the constituent parts of those definitions, such as properties and methods. Metadata objects provide a programmatic interface to information about class definitions.

MATLAB uses instances of the matlab.metadata.MetaData class as the default object to fill in missing elements in arrays of metaclass objects.

Use the findobj and findprop methods of the handle class to search the metadata hierarchy for metadata objects. For information on using metadata, see Class Introspection and Metadata.

The matlab.metadata.MetaData class is a handle class.

Class Attributes

HandleCompatible
true

For information on class attributes, see Class Attributes.

Creation

You cannot create an object of this class directly. To access class metadata, use the metaclass function.

Version History

Introduced in R2008a

expand all