Running multiple functions simultaneously
古いコメントを表示
Dear all, I calculate a Jacobean matrix numerically by modifying each component of a vector of parameters "V" and see the impact of this change on the solution of my problem. I can do this operation by making the modification component by component of the vector of parameter "V" which has a dimension of (14*1). Problem : I would like to make this calculation, but a simultaneous (i.e. in parallel procedure). Create multiple problems (length(V) = 14), where each contains a variation of a component of my vector B--->This task is easily encoded. The problem is how, I ask Matlab to start for solving these 10 created problems simultaneously. Thank you in advance for each answer.
回答 (2 件)
Sean de Wolski
2014 年 12 月 19 日
0 投票
Do you have the Parallel Computing Toolbox?
If so, this is easily doable with parfor, parfeval or batch.
If not, contact your friendly MathWorks' account manager for a trial.
Sara
2015 年 1 月 21 日
0 投票
1 件のコメント
Sean de Wolski
2015 年 1 月 21 日
With the parallel computing toolbox, batch and parfor exist. parfeval was added later. You do not have the toolbox if these functions aren't present.
カテゴリ
ヘルプ センター および File Exchange で Parallel for-Loops (parfor) についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!