Main Content
clibRelease
Release C++ object from MATLAB
Syntax
Description
clibRelease(
releases C++ object from
MATLAB®, making it inaccessible. Cases
where you might call cppObj
)clibRelease
are:
The C++ library manages the lifetime of an object on the heap.
The C++ object can explicitly delete itself.
For C++ objects created in MATLAB either through class constructors or the clib.array
types,
MATLAB owns and manages the memory. Do not call clibRelease
on
this object.
Examples
Input Arguments
Version History
Introduced in R2019a