i have problem in parallel computing
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
please help me i use this code, but every time i get same answer while this code should get different answer.why? for example in every run i get answer 1.52 form labindex1 and 1.87 form labindex2. while when i run PSO2 or PSO3 in state nonparallel i get each time different answers. can anyone help me please? this is my code
matlabpool open
spmd(2)
if(labindex==1)
PSO2( )
else
PSO3( )
end
end
matlabpool close
0 个评论
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!