Main Content
Button
Detect status of EV3 brick button
Add-On Required: This feature requires the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
Libraries:
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Description
Use the Button block to detect whether the LEGO® MINDSTORMS® EV3 brick button is pressed or not. You can configure the block to detect the status of center, left, right, up, and down buttons. However, you cannot configure the block to detect the status of the back button as the EV3 brick reserves it to stop and shut down programs.
During simulations without hardware, this block emits zeros. See Block Produces Zeros or Does Nothing in Simulation.
Ports
Output
Parameters
Version History
Introduced in R2012a