afterEach
Run function after each function finish running in the background.
Syntax
B = afterEach(F, fcn, n)
Input argument
F - Input Future object (scalar or array).
fcn - Function handle: Function to run after all input futures.
n - Number of output arguments.
Output argument
B - AfterEachFuture object.
Description
B = afterEach(F, fcn, n) returns a AfterEachFuture object B.
Function fcn is automatically runned after each element in the Future array F was finished.
If any of the elements in F encounters an error, the Error property of B contains an error.
Example
See also
backgroundPool, fetchOutputs, afterAll.
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated