is there any way to keep the uninitialized variable in parfor and recall it outside
Hi
This is how it look like my code:
b = [];
parfor i = 1:n
for j=1:m
if b && some_condition(i)
t=do_something(i);
b = [b;t];
end
end…
end
I want to save b matrix for every itration , please help
BestHi
This is how it look like my code:
b = [];
parfor i = 1:n
for j=1:m
if b && some_condition(i)
t=do_something(i);
b = [b;t];
end
end…
end
I want to save b matrix for every itration , please help
Best Hi
This is how it look like my code:
b = [];
parfor i = 1:n
for j=1:m
if b && some_condition(i)
t=do_something(i);
b = [b;t];
end
end…
end
I want to save b matrix for every itration , please help
Best temporary variable, parfor, matlab MATLAB Answers — New Questions