readColor
Read color of object in front of color sensor
Add-On Required: This feature requires the MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
Description
reads the color of an object in front of the color sensor, and returns it as a string, such
as color = readColor(mycolorsensor)red, green, or blue.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a