meta.package - meta.package class describes MATLAB® packages

Syntax

Description

The meta.package class contains information about MATLAB packages.

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
fromNameStaticReturn meta.package object for a specified package name.
getAllPackagesStaticReturn 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

  


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