Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Class 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

metaclass Obtain meta.class object
meta.abstractDetails Find abstract methods and properties
meta.class.fromName Return meta.class object associated with named class
meta.package.fromName Return meta.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 Superclass names

Classes

meta.class Describe MATLAB class
meta.property Describe property of MATLAB class
meta.method Describe method of MATLAB class
meta.event Describe event of MATLAB class
meta.package Describe MATLAB package
meta.DynamicProperty Describe dynamic property of MATLAB object
meta.EnumeratedValue Describe enumeration member of MATLAB class
meta.MetaData Superclass for MATLAB object metadata

Topics

Class Metadata

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.

Get Information About Properties

Use meta.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.

Was this topic helpful?