isQueued = enqueue(queueObj,packet)
adds the packet packet to the tail of the first-in first-out (FIFO)
queue queueObj, and returns the status of the packet addition.
isQueued = enqueue(queueObj,packet,size)
adds the packet packet of specified size size to
the tail of the FIFO queue queueObj, and returns the status of the
packet addition.
FIFO queue, specified as an object of class wnet.FIFOQueue.
Packet to add at the tail of the FIFO queue, specified as any MATLAB data type.
Size of the specified packet in bytes, specified as a nonnegative integer. This
value represents the number of data bytes required to hold the specified packet. If no
value is specified, the enqueue function assumes that the specified
packet size is 0 bytes.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.