Display image inside parfor loop
6 views (last 30 days)
Dear Experts I am doing Parallel computation in matlab and I use simple parfor but inside of parfor I need to use imshow function. But matlab stopped by Error using imshow (line 208) IMSHOW unable to display image. I searched for solution and just I found batch work. Actually I couldn't used batch inside parfor. I put my code here and I appreciate if somebody can help me.
Ben11 on 5 Aug 2014
I'm afraid you can't control image display inside a parfor loop, i.e. inside individual workers. However you can store all the images in a temporary array/cell array/whatever and wait until the parfor loop terminates before displaying them.
More Answers (1)
Edric Ellis on 6 Aug 2014