writePixel
Write the specified color to an individual pixel at the specified column and row of LED Matrix
Description
writePixel(
writes
the specified pixel color value at the specified pixel location on
the LED Matrix.mysh
,pixelLocation
,pixelValue
)
Specify the pixel location as 1x2 [column row] value. Specify the color as a 1x3 [R G B] value.
writePixel(
writes
the specified color at the specified location on the LED Matrix.mysh
,pixelLocation
,color
)
Specify the pixel location as 1x2 [column row] value. Specify the color by name.
You can specify the following colors by name:
‘red’ or ‘r’
‘blue’ or ‘b’
‘green’ or ‘g’
‘cyan’ or ‘c’
‘magenta’ or ‘m’
‘yellow’ or ‘y’
‘white’ or ‘w’
‘black’ or ‘k’
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2016b