MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 499

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 498
labReceive
11-155
labReceive
Receive data from another worker
Syntax
data = labReceive
data = labReceive(srcWkrIdx)
data = labReceive('any',tag)
data = labReceive(srcWkrIdx,tag)
[data,srcWkrIdx,tag] = labReceive
Arguments
srcWkrIdx labindex of a particular worker from which to receive data.
tag Tag defined by the sending worker’s labSend function to
identify particular data.
'any' String to indicate that data can come from any worker.
data Data sent by the sending worker’s labSend function.
Description
data = labReceive receives data from any worker with any tag.
data = labReceive(srcWkrIdx) receives data from the specified worker with any tag
data = labReceive('any',tag) receives data from any worker with the specified
tag.
data = labReceive(srcWkrIdx,tag) receives data from only the specified worker
with the specified tag.
[data,srcWkrIdx,tag] = labReceive returns the source worker labindex and tag
with the data.
Seitenansicht 498
1 2 ... 494 495 496 497 498 499 500 501 502 503 504 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare