system command error within a parfor
Mostrar comentarios más antiguos
Hi all,
I'm getting this error when runnning the code below. I isolated the issue to the use of the system command within the parfor loop. Note however that the same exact code runs fine on another -windows- PC.
Error Identifier: MATLAB:parallel:future:FetchNextFutureErrored
Error Message: The function evaluation completed with an error.
parfor ......
.....
command = ...;
system(command);
end
2 comentarios
Rik
el 19 de Mzo. de 2026 a las 15:16
Does that other Windows PC also have the parallel computing toolbox? Because without that toolbox, parfor loops are treated as normal for loops, which avoids a lot of issues.
Ahmed Elkady
el 19 de Mzo. de 2026 a las 17:49
Respuestas (0)
Categorías
Más información sobre Parallel for-Loops (parfor) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!