| Parallel Computing Toolbox™ | ![]() |
labSend(data, destination)
labSend(data, destination, tag)
data | Data sent to the other lab; any MATLAB® data type. |
destination | labindex of receiving lab. |
tag | Nonnegative integer to identify data. |
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.
This function might return before the corresponding labReceive completes in the receiving lab.
labBarrier, labindex, labProbe, labReceive, numlabs
![]() | labReceive | labSendReceive | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |