system command error within a parfor

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

Rik
Rik 2026년 3월 19일 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
Ahmed Elkady 2026년 3월 19일 17:49
Both PCs have the parallel computing toolbox. The only diffference, other than the hardware, is that one has R2023a (not working) and the other R2023b (working)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2026년 3월 19일 12:53

댓글:

2026년 3월 19일 17:49

Community Treasure Hunt

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

Start Hunting!

Translated by