https://nl.mathworks.com/help/simevents/ref/matlab.discreteeventsystem.resourcespecification.html
matlab.DiscreteEventSystem.resourceSpecification - Create specifications for a resource acquisition...
This MATLAB function specifies the names and the amount of the resources for the eventAcquireResource or the eventReleaseResource requests.
for amatlabcreatespecificationsresource