DocumentationHelp Center
Get shared resource property
getSharedResourceProperty(arduinoObj, resourceName, propertyName)
example
getSharedResourceProperty(arduinoObj, resourceName, propertyName) retrieves shared property value of all objects of the same resource.
arduinoObj
resourceName
propertyName
collapse all
Retrieve the mode of all spidev objects.
spidev
arduinoObj = obj.Parent; getResourceProperty(arduinoObj, 'spidev', 'Mode');
ans = 1
Arduino object, specified as an object that is an internal variable called from within classes that derive from matlabshared.addon.LibraryBase.
matlabshared.addon.LibraryBase
Name of shared resource, specified as a character vector.
Name of shared property to retrieve, specified as a character vector.
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