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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.