This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Queue and Service

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 with Queues and Serves.

Blocks

Conveyor SystemTransport entities
Entity QueueEnqueue entities
Entity ServerServe entities
Entity StoreStore entities

Topics

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

Storage with Queues and Serves

What storage represents 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 Event Actions

What events represent in various application types.