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

  • 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 496
labProbe
11-153
labProbe
Test to see if messages are ready to be received from other worker
Syntax
isDataAvail = labProbe
isDataAvail = labProbe(srcWkrIdx)
isDataAvail = labProbe('any',tag)
isDataAvail = labProbe(srcWkrIdx,tag)
[isDataAvail,srcWkrIdx,tag] = labProbe
Arguments
srcWkrIdx labindex of a particular worker from which to test for a
message.
tag Tag defined by the sending worker’s labSend function to
identify particular data.
'any' String to indicate that all workers should be tested for a
message.
isDataAvail Logical indicating if a message is ready to be received.
Description
isDataAvail = labProbe returns a logical value indicating whether any data is
available for this worker to receive with the labReceive function.
isDataAvail = labProbe(srcWkrIdx) tests for a message only from the specified
worker.
isDataAvail = labProbe('any',tag) tests only for a message with the specified
tag, from any worker.
isDataAvail = labProbe(srcWkrIdx,tag) tests for a message from the specified
worker and tag.
Vue de la page 496
1 2 ... 492 493 494 495 496 497 498 499 500 501 502 ... 655 656

Commentaires sur ces manuels

Pas de commentaire