How to run 4 loops simutaneously?

조회 수: 2 (최근 30일)
Joe kiao
Joe kiao 2015년 6월 12일
답변: Walter Roberson 2015년 6월 12일
In my code there are 4 matrix to fill. So there are 4 "for...end". They are independent by each other. Now I want to do some acceleration. How to run there 4 loops simultaneously?

채택된 답변

Walter Roberson
Walter Roberson 2015년 6월 12일
If you have the Parallel Computing Toolbox, there is "parfor" and "spmd" and distributed arrays.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by