labSend - Send data to another lab

Syntax

labSend(data, destination)
labSend(data, destination, tag)

Arguments

data

Data sent to the other lab; any MATLAB® data type.

destination

labindex of receiving lab.

tag

Nonnegative integer to identify data.

Description

labSend(data, destination) sends the data to the specified destination, with a tag of 0.

labSend(data, destination, tag) sends the data to the specified destination with the specified tag. data can be any MATLAB data type. destination identifies the labindex of the receiving lab, and must be either a scalar or a vector of integers between 1 and numlabs; it cannot be labindex (i.e., the current lab). tag can be any integer from 0 to 32767.

Remarks

This function might return before the corresponding labReceive completes in the receiving lab.

See Also

labBarrier, labindex, labProbe, labReceive, numlabs

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS