Main Content
Button
Display button widget on device screen
Add-On Required: This feature requires the Simulink Support Package for Android Devices add-on.
Libraries:
Simulink Support Package for Android Devices /
User Interface
Description
The Button block displays a button widget on the Android® app. The button has two states: pressed and not-pressed. Tapping the button switches the state of the button. The Button state parameter determines the button state when the Android app starts.
Note
During simulation with no hardware connected, this block does nothing. For more information, see Block Produces Zeros or Does Nothing in Simulation.
Ports
Output
Parameters
Version History
Introduced in R2015a