Main Content
queueFIFO
Class: matlab.DiscreteEventSystem
Namespace: matlab
Define first-in first-out (FIFO) queue storage
Syntax
storage = queueFIFO(entityType,capacity)
Description
defines a FIFO queue storage element. Use this function when implementing the storage
= queueFIFO(entityType
,capacity
)getEntityStorageImpl
method.
Note
This page describes the queueFIFO
method to create a custom
discrete-event system block. See Entity Queue block provided by
the SimEvents® library to use a queue with FIFO sorting policy.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016a