Main Content


Get terminal resource owner



getResourceOwner(arduinoObj, terminal) returns the resource owner of the specified terminal.


collapse all

Get resource owner for terminal 14 on your arduino object.

arduinoObj = obj.Parent
getResourceOwner(arduinoObj, 14)
ans = 

Input Arguments

collapse all

Arduino object, specified as an object that is an internal variable called from within classes that derive from matlabshared.addon.LibraryBase.

Physical terminal number on Arduino hardware, specified as a double. For more information see Physical Terminals and Pin Numbers.

Version History

Introduced in R2015b