Main Content


Release C++ object from MATLAB


clibRelease(cppObj) releases C++ object from MATLAB, making it inaccessible.

Input Arguments

collapse all

C++ object created in MATLAB, specified as a handle. Once released, the underlying C++ object is no longer accessible in MATLAB, and the MATLAB handle cppObj becomes invalid. If the object is returned again from the library, then MATLAB creates a handle.

Introduced in R2019a