amount — Specify the amount of resources for acquisition or release requestsdouble

Output Arguments

resRequest — Resource requestvector of MATLAB® structures

Resource request for an acquisition or a release event specified as a vector of
MATLAB structures.

Examples

When an entity enters the storage element, it acquires resources. The
entity acquires one resource of type Resource1 and one resource of type
Resource2, which are defined as specifications. The specifications are
then used for eventAcquireResource with tag
MyResourceAcquireEvent.