フィルターのクリア

Robust SPMD-like structure

1 回表示 (過去 30 日間)
Stephen
Stephen 2016 年 1 月 7 日
回答済み: Walter Roberson 2016 年 1 月 7 日
I'm interested in running some subroutine on different sets of data in parallel. Sometimes, a dataset will cause errors in the subroutine, but most of the time it does not. Is there a way to salvage the valid results from all of the datasets without errors? SPMD documentation says that it will stop all workers upon encountering an error in one.

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 1 月 7 日
Put in your own try/catch
You might also want to look at parfeval()

カテゴリ

Help Center および File ExchangeParallel for-Loops (parfor) についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by