Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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

PropertyPurpose
Name read onlyName of the package associated with this meta.package object
Packages read onlyList of packages that are scoped to this package. A cell array of meta.package objects.
Classes read onlyList of classes that are scoped to this package. A cell array of meta.class objects.
Functions read onlyList of functions that are scoped to this package. A cell array of function handles.
ContainingPackage read onlyA meta.package object describing the package within which this package is contained, or an empty object if this package is not nested.

Methods

MethodPurpose
fromNameStatic method returns a meta.package object for a specified package name.
getAllPackagesStatic 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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS