openInParallelToAppend
R2026bOpen destination on parallel worker to append blocks
Description
openInParallelToAppend(
opens the location specified by obj,destination)destination on a parallel worker in
preparation for appending blocks. This function is only invoked when the
UseParallel argument of apply enables
parallel processing.
openToWrite is
guaranteed to have been called once on a corresponding destination
value earlier on a separate instance of the adapter in the main MATLAB® session. A copy of the adapter is made for each parallel worker and
openInParallelToAppend is called once before subsequent setIOBlock. The
adapter uses the AlternateFileSystemRoots property of the blocked image
to resolve destination on the worker.
An adapter that implements this method must be able to support multiple adapter instances (one on each parallel worker) appending blocks to the same destination simultaneously. This is usually handled by writing independent files for each block in a single destination folder.
Input Arguments
Version History
Introduced in R2021a