resourceType
Class: matlab.DiscreteEventSystem
Namespace: matlab
Specify an entity type and the name of the resources to be acquired by the specified entity
Syntax
resType = resourceType(entityType,resourceNames)
Description
resType = resourceType(entityType,resourceNames)
Input Arguments
Output Arguments
Examples
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
Version History
Introduced in R2019a