필터 지우기
필터 지우기

Parfor Loop Indexing, Starting at value other than 1

조회 수: 1 (최근 30일)
Thomas
Thomas 2015년 7월 23일
답변: Jon 2015년 7월 23일
Is there any problem with indexing a parfor loop such that it starts at an index other than 1? That is, something like
parfor ii=5:25
<body>
end
Also, could this type of indexing cause some unexpected problems? Thanks!

답변 (1개)

Jon
Jon 2015년 7월 23일
Why not try it and see? You already wrote the code, just insert something in place of
<body>
like
blah(ii) = rand;
and see what happens? (I don't think you should have any problems.)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by