Describe MATLAB package
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 of the package associated with this |
| Currently not used. Read only |
| Currently not used. Read only |
| List of classes that are scoped to this package. An object
array of |
Use | List of classes that are scoped to this package. A cell
array of |
| List of functions that are scoped to this package. An object array of function handles. Read only |
Use | List of functions that are scoped to this package. A cell array of function handles. Read only |
| List of packages that are scoped to this package. An object
array of meta.package objects. Read only |
Use | List of packages that are scoped to this package. A cell array
of meta.package objects. 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. Read only |
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. |