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일

0 개 추천

If you have the Parallel Computing Toolbox, there is "parfor" and "spmd" and distributed arrays.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2015년 6월 12일

답변:

2015년 6월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by