MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 501

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 500
labSend
11-157
labSend
Send data to another worker
Syntax
labSend(data,rcvWkrIdx)
labSend(data,rcvWkrIdx,tag)
Arguments
data Data sent to the other workers; any MATLAB data type.
rcvWkrIdx labindex of receiving worker or workers.
tag Nonnegative integer to identify data.
Description
labSend(data,rcvWkrIdx) sends the data to the specified destination.data can be
any MATLAB data type. rcvWkrIdx identifies the labindex of the receiving worker,
and must be either a scalar or a vector of integers between 1 and numlabs; it cannot be
labindex of the current (sending) worker.
labSend(data,rcvWkrIdx,tag) sends the data to the specified destination with the
specified tag value. tag can be any integer from 0 to 32767, with a default of 0.
More About
Tips
This function might or might not return before the corresponding labReceive completes
in the receiving worker.
See Also
labBarrier | labindex | labProbe | labReceive | labSendReceive | numlabs
Vue de la page 500
1 2 ... 496 497 498 499 500 501 502 503 504 505 506 ... 655 656

Commentaires sur ces manuels

Pas de commentaire