meta.package - meta.package class describes MATLAB packages
Description
The meta.package class contains information
about MATLAB packages.
You cannot instantiate a meta.package object
directly. Obtain a meta.package object from the meta.class ContainingPackage property,
which contains a meta.package object, or an empty
object, if the class is not in a package.
Properties
| Property | Purpose |
| Name read only | Name of the package associated with this meta.package object |
| Packages read only | List of packages that are scoped to this package. A cell array
of meta.package objects. |
| Classes read only | List of classes that are scoped to this package. A cell array
of meta.class objects. |
| Functions read only | List of functions that are scoped to this package. A cell array
of function handles. |
| ContainingPackage read only | A meta.package object describing the package
within which this package is contained, or an empty object if this
package is not nested. |
Methods
| Method | Purpose |
| fromName | Static method returns a meta.package object
for a specified package name. |
| getAllPackages | Static method returns a cell array of meta.package objects
representing all top-level packages. |
See Also
See Obtaining Information About Classes with Meta-Classes
meta.class, meta.property, meta.method, meta.event
 | meta.method | | meta.package.fromName |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit