send
Send data from worker to client using a data queue
Syntax
send(queue, data)
send(pollablequeue, data)
Description
send(
sends a message or data with the valuepollablequeue
,data
)data
to theparallel.pool.PollableDataQueue
specified bypollablequeue
. Retrieve the result usingpoll
(pollablequeue)
, and returndata
as the answer.
Use thesend
andpoll
functions together using a pollable data queue to transfer and retrieve messages or data from different workers.
Examples
Input Arguments
Introduced in R2017a
Was this topic helpful?