Error: The variable in a parfor cannot be classified.
이전 댓글 표시
In the code below I get an error: The variable temp_act in a parfor cannot be classified.See Parallel for Loops in MATLAB, "Overview".
parfor i=1:size(path_table,1)
[temp_path_table(i,:),node_act_1,node_act_2]=path_automatron(path_table(i,:),node_table{path_table{i,2}(1),path_table{i,2}(2),7},node_table{path_table{i,3}(1),path_table{i,3}(2),7});
temp_act{temp_path{i,2}(1),temp_path{i,2}(2)}=node_act_1;
temp_act{temp_path{i,3}(1),temp_path{i,3}(2)}=node_act_2;
end
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!