| Contents | Index |
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.
| Property | Purpose |
|---|---|
| Name read only | Name of the package associated with this meta.package object |
| ClassList read only | List of classes that are scoped to this package. An object array of meta.class objects. |
| Classes read only Use ClassList instead | List of classes that are scoped to this package. A cell array of meta.class objects. |
| FunctionList read only | List of functions that are scoped to this package. An object array of function handles. |
| Functions read only Use FunctionList instead | List of functions that are scoped to this package. A cell array of function handles. |
| PackageList read only | List of packages that are scoped to this package. An object array of meta.package objects. |
| Packages read only Use PackageList instead | List of packages that are scoped to this package. A cell array of meta.package objects. |
| 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. |
| 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. |
meta.class | meta.event | meta.method | meta.property

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |