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
Best Answer