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) retrievesm results from a Future array f.

fetchOutputs waits for the function associated tof to finish before retrieving results.

IffetchOutputs is called, Read property of each element inf is set to true.

💡 Examples

Sequential version

Parallel version

🔗 See also

parfeval, backgroundPool, fetchNext.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?