Main Content
Button
Read logical state of button
Add-On Required: This feature requires the Simulink Coder Support Package for Beaglebone Blue Hardware add-on.
Libraries:
Simulink Coder Support Package for BeagleBone Blue Hardware /
Basic
Description
The Button block reads the logical state of a user-configurable button on the hardware. The hardware has two user-configurable buttons, Mode and Pause, with two logical states, pressed and released.
During simulations without hardware, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation.
Ports
Output
Parameters
Version History
Introduced in R2017b