Define first-in first-out (FIFO) queue storage
entityType— Entity type
Type of entities that the new storage element works with.
capacity— Maximum number of entities
Maximum number of entities that the storage can contain, specified as a double.
Queue storage that contains entities and sorts them in FIFO order.
Specify FIFO queue entity storage for the discrete-event system object.
% Define a storage element as a FIFO queue % - Entities in the queue are sorted in First-In-First-Out (FIFO) order % - Queue can store entities of type 'myEntity' % - Queue can store no more than 25 entities storage = obj.queueFIFO('myEntity', 25);