Main Content
eventAcquireResource
Class: matlab.DiscreteEventSystem
Namespace: matlab
Create a resource acquisition event
Syntax
event = eventAcquireResource(resourceSpec,tag)
Description
creates an event to acquire resources from existing Resource Pool blocks. You
can specify names and amount of resources to acquire. For more details, see event
= eventAcquireResource(resourceSpec
,tag
)resourceSpecification
.
If all the requested resources are not available during the event execution, the acquisition event remains active. When the requested resources become available, the event is rescheduled for immediate execution.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2019a