Main Content
getFreeResourceSlot
Get first free slot of resource
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Description
returns
the first available slot or index in a continuous array allocated
for the given resource. The slot count starts from 1.slot
= getFreeResourceSlot(arduinoObj
, resourceName
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b