Main Content

openToRead

Open source for read access

Since R2021a

    Description

    openToRead(obj,source) opens the source, specified as a scalar string, for read access. This method issues an error if the adapter does not support source.

    Input Arguments

    collapse all

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

    Location to read from, specified as a string scalar or char vector.

    Data Types: char | string

    Tips

    • openToRead gets called when a previously saved blockedImage is loaded from a MAT file.

    Version History

    Introduced in R2021a