matlab.metadata.Namespace Class
Namespace: matlab.metadata
Superclasses: matlab.metadata.MetaData
Description
The matlab.metadata.Namespace
class contains information about MATLAB® namespaces. All properties are read-only.
Namespaces can contain classes, functions, and contained namespaces (referred to as inner namespaces). A namespace can also itself be contained by an outer namespace.
The matlab.metadata.Namespace
class is a handle
class.
Class Attributes
Sealed | true |
Abstract | true |
RestrictsSubclassing | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Creation
To obtain a matlab.metadata.Namespace
object, use the
fromName
static method. If no such namespace exists,
fromName
returns an empty object array. For classes in namespaces, the
matlab.metadata.Namespace
object can also be obtained from the
Namespace
property of matlab.metadata.Class
.