writePixel
Write the specified color to an individual pixel at the specified row and column 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 [row column] value. Specify the color as a 1x3 [R G B] value.
Note
To generate C/C++ code for this function, you must have an Embedded Coder® license.
writePixel(
writes the specified color at the specified location on the LED Matrix.mysh,pixelLocation,color)
Specify the pixel location as 1x2 [row column] 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