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 — Short description of the package
Returns the name of the package as a character vector.
DetailedDescription — Not used
empty character vector
This property is 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
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.
Find Names of Classes in Package
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.