Main Content

eventTestEntry

Class: matlab.DiscreteEventSystem
Namespace: matlab

Create an event to indicate that the acceptance policy for the storage has changed and the storage retests arriving entities

Syntax

event = eventTestEntry(storageId)

Description

event = eventTestEntry(storageId) creates an event to retest entities arriving at storage.

Input Arguments

expand all

Index of the storage element that is to be unblocked, specified as a scalar.

Data Types: double

Output Arguments

expand all

Event that unblocks a storage or input port for processing entities, specified as a MATLAB structure.

Examples

expand all

Retest entity entry to storage.

function [entity,events] = exit(obj,storage,entity,dst)
    % Indicates that more entities can be accepted and acceptance policy has changed
    events = [events,obj.eventTestEntry(storage)];
end
    

Version History

Introduced in R2018a