Release C++ object from MATLAB
cppObj— C++ object created in MATLAB®
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.