fetchOutputs
Retrieve results from function running in the background pool.
Syntax
[y1, ... , ym] = fetchOutputs(f)
Input argument
f - FevalFuture object
Output argument
y1, ... , ym - outputs
Description
[y1, ... , ym] = fetchOutputs(f) retrieves m results from a Future array f.
fetchOutputs waits for the function associated to f to finish before retrieving results.
If fetchOutputs is called, Read property of each element in f is set to true.
Examples
Sequential version
Parallel version
See also
parfeval, backgroundPool, fetchNext.
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated