I have a set of independent problems, which I can transfer to a parfor loop. The return value of each of these iterations is false or true. To shorten the computation, I want to exit the parfor loop at the first time the return value "true" has materialized (deterministic concurrent). How can I accomplish this task?
MATLAB: Parfor loop exit: deterministic concurrent
Parallel Computing Toolboxparfor
Best Answer