Main Content

close

Close adapter

Since R2021a

Description

close(obj) closes and releases resources acquired during openToRead, openToWrite, and openInParallelToAppend methods. Use this method to flush data, close file handles and perform other clean up actions.

close may get called more than once.

Input Arguments

collapse all

Adapter object, specified as an instance of an adapter class that is subclassed from the images.blocked.Adapter class.

Version History

Introduced in R2021a