Lock .NET object representing RunTime Callable Wrapper (COM wrapper)
NET.disableAutoRelease(
locks a .NET
object representing a RunTime Callable Wrapper (COM wrapper) so that MATLAB® does not release the COM object. After using the object, call obj
)NET.enableAutoRelease
to release the COM object.