Hello everybody,
I am planning a script which runs 2 functions simultaneously in a loop, using parfeval and fetchOutputs. These 2 functions will have different evaluation times like 2E-3s and 0.04s. If I am using fetchOutputs ,my loop will wait for the slower function to finish what is not desired. Therefore, I would like to ask if there is any way to check the status of my slower function i.e. using fetchOutputs only if the function is finished and keep the faster function running in the loop.
Cheers
Alexander Braun
Best Answer