MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 504

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 503
11 Functions — Alphabetical List
11-160
Lab 2:
otherdata =
1
Lab 3:
otherdata =
1 3
4 2
Transfer data to the next worker without wrapping data from the last worker to the first
worker.
if labindex < numlabs; rcvWkrIdx = labindex + 1; else rcvWkrIdx = []; end;
if labindex > 1; srcWkrIdx = labindex - 1; else srcWkrIdx = []; end;
otherdata = labSendReceive(rcvWkrIdx,srcWkrIdx,mydata)
Lab 1:
otherdata =
[]
Lab 2:
otherdata =
1
Lab 3:
otherdata =
1 3
4 2
See Also
labBarrier | labindex | labProbe | labReceive | labSend | numlabs
Page view 503
1 2 ... 499 500 501 502 503 504 505 506 507 508 509 ... 655 656

Comments to this Manuals

No comments