This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Get terminal resource owner


getResourceOwner(arduinoObj, terminal)



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.

Introduced in R2015b