Contenuto principale

close

R2026b

Class: ImageAdapter

(Not recommended) Close ImageAdapter object

The close method of the ImageAdapter class is not recommended. Instead of ImageAdapter, use a blockedImage object. For more information, see Version History.

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

collapse all

See Also