eventReleaseAllResources
Class: matlab.DiscreteEventSystem
Namespace: matlab
Create an event to release all resources acquired by an entity
Syntax
event = eventReleaseAllResources(tag)
Description
creates an event to release all the resources acquired by an entity.event
= eventReleaseAllResources(tag
)
Input Arguments
Output Arguments
Examples
On entity entry to a storage element, an entity releases all of the
previously acquired resources. The tag of this resource acquisition event is
ReleaseAll
.
function [entity, event] = entry(obj, storage, entity, source) event = obj.eventReleaseAllResources('releaseAll'); end
Version History
Introduced in R2019a