readTouch
Read touch sensor value
Add-On Required: This feature requires the MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
Description
Add-On Required: This feature requires the MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
reads whether an object is pressing the front of the touch sensor, and returns the
status as a logical value:pressed = readTouch(mytouchsensor)
0means not pressed.1means pressed.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2014b