Class: matlab.DiscreteEventSystem
Package: matlab
Specify an entity type and the name of the resources to be acquired by the specified entity
resType = resourceType(entityType,resourceNames)
specifies an entity type and the corresponding resources that this entity type
acquires.resType
= resourceType(entityType
,resourceNames
)
Use this method together with getResourceNamesImpl
to specify the resources of types Test1
and Test2
to be acquired by the entity type
Part
.
function resNames = getResourceNamesImpl(obj) % Define the names of the resources to be acquired. resType = obj.resourceType('Part', {'Test1', 'Test2'}) ; end
cancelAcquireResource
| eventAcquireResource
| eventForward
| eventReleaseResource
| getResourceNamesImpl
| matlab.DiscreteEventSystem
| resourceAcquired