Main Content
matlab.lang.HandlePlaceholder Class
Namespace: matlab.lang
Description
This class is a subclass of handle
, and it defines no members other than
what it inherits from handle
. You can use
matlab.lang.HandlePlaceholder
when you need a basic handle class to test
code. You can also use an object of this class as a default value when defining a property
with the WeakHandle
attribute.
The matlab.lang.HandlePlaceholder
class is a handle
class.
Creation
The no-argument constructor of matlab.lang.WeakReference
returns an
instance with its Handle
property set to a handle to a deleted matlab.lang.WeakReference
object. You can also call the
matlab.lang.HandlePlaceholder
class constructor directly.
Examples
Version History
Introduced in R2024b