Main Content

close

Class: ImageAdapter

Close ImageAdapter object

Syntax

close(adapter)

Description

close(adapter) closes the ImageAdapter object and performs any necessary clean-up, such as closing file handles.

Input Arguments

expand all

Image adapter, specified as an instance of an ImageAdapter.

Attributes

Abstracttrue

To learn about attributes of methods, see Method Attributes.

Tips

  • When you construct a class that inherits from the ImageAdapter class, you must implement this method.

  • blockproc does not call the close method. If your image adapter opens file handles or requires other class clean-up responsibilities, then you must call the close method explicitly in your image processing pipeline.

Version History

Introduced in R2010a

See Also