matlab.lang.invalidHandle
Syntax
Description
returns an invalid handle to a scalar instance of invArr
= matlab.lang.invalidHandle(classname
)classname
. No object
of classname
is constructed.
returns an array of invalid handles with dimensions specified by
invArr
= matlab.lang.invalidHandle(classname
,sz1,...,szN
)sz1,...,szN
.
Examples
Input Arguments
Tips
matlab.lang.invalidHandle
errors for classes that overridecopy
in such a way that the method errors for invalid handles.
Version History
Introduced in R2024b