Slider
Display slider widget
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
Use the Slider block to display a slider widget on the device screen.
The Slider block outputs a single-precision value. The output value depends on the position of the slider along the length of the bar. When you slide the slider to the left position, the block outputs the value of the Minimum parameter. When you slide the slider to the rightmost position, the block outputs the value of the Maximum parameter.
Note
During simulation with no hardware connected, this block outputs the initial state.
Ports
Output
Parameters
Version History
Introduced in R2015a
See Also
Ambient Temperature Sensor | Humidity Sensor | Light Sensor | Work with BLE Blocks on Android