Describe MATLAB package
meta.package class contains information about MATLAB® packages. All properties are read-only.
Packages can contain classes, functions, and other packages.
meta.package class is a
For information on class attributes, see Class Attributes.
You cannot instantiate a
meta.package object directly. Obtain a
meta.package object from the
ContainingPackage property, which contains a
meta.package object, or an empty object, if the class is not in a package.
Name— Name of the package
Name of the package, returned as a character vector.
Description— Not used
DetailedDescription— Not used
ClassList— List of classes that are scoped to this package
List of classes that are scoped to this package, returned as an array of
FunctionList— List of functions that are scoped to this package
List of functions that are scoped to this package, returned as an array of function handles.
PackageList— List of packages that are scoped to this package
List of packages that are scoped to this package, returned as an array of
ContainingPackage— Package that contains this package
Package that contains this package, returned as a
meta.package object. If this package is not contained in another package, the
meta.package object is empty.
meta.package.fromName method to find the names of the classes contained in the
matlab.mixin package. Access the
meta.class objects in the
ClassList property to display a list of the class names.