Package: meta
Superclasses: meta.MetaData
Describe MATLAB package
The meta.package
class contains information about MATLAB® packages. All properties are read-only.
Packages can contain classes, functions, and other packages.
The meta.package
class is a handle
class.
Sealed | true |
Abstract | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
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.
Use the meta.package.fromName
method to find the names of the classes contained in the matlab.mixin
package. Access the meta.class
objects in the ClassList
property to display a list of the class names.
disp(string({meta.package.fromName('matlab.mixin').ClassList.Name})')