Delay modeling, waiting times, entity storage, buffering

Queues order entities and sort them according to queue policies. They store entities for some length of time that cannot be determined in advance. For more information, see Storage.


Entity QueueEnqueue entities

Examples and How To

Sort by Priority

Using attribute values to control the queue discipline

Task Preemption in a Multitasking Processor

This example shows how to force service completion in an Entity Server block using functionality available on the block Preemption tab.

Determine Whether a Queue Is Nonempty

Using queue length signal to determine whether a queue is empty or nonempty

Model Server Failure

Using Stateflow® charts to model the behavior of a server that requires maintenance



What storage represent in various application types.

Model Basic Queuing Systems

Suppose that you are modeling a queue that can physically hold 100 entities and you want to determine what proportion of the time the queue length exceeds 10.

Write Events Actions

What events represent in various application types.

Was this topic helpful?