Info

This question is closed. Reopen it to edit or answer.

I am trying to implement parfor loop in my sequential code. I have a for loop inside the parfor loop. The sequential code is working fine but the parallel code is missing some iterations of the inner for loop. Can some one please help? Thank you.

1 view (last 30 days)
The structure of my code is as following:
parfor i=1:n
.
.
for j=1:m
.
.
end
end
The code is missing some iterations of j.

Answers (0)

Community Treasure Hunt

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

Start Hunting!