MATLAB PARALLEL COMPUTING TOOLBOX - S Guia do Utilizador Página 504

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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
Vista de página 503
1 2 ... 499 500 501 502 503 504 505 506 507 508 509 ... 655 656

Comentários a estes Manuais

Sem comentários