DocumentationHelp Center
Get terminal resource owner
getResourceOwner(arduinoObj, terminal)
example
getResourceOwner(arduinoObj, terminal) returns the resource owner of the specified terminal.
arduinoObj
terminal
collapse all
Get resource owner for terminal 14 on your arduino object.
arduino
arduinoObj = obj.Parent getResourceOwner(arduinoObj, 14)
ans = 'servo'
Arduino object, specified as an object that is an internal variable called from within classes that derive from matlabshared.addon.LibraryBase.
matlabshared.addon.LibraryBase
Physical terminal number on Arduino hardware, specified as a double. For more information see Physical Terminals and Pin Numbers.
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office