Display slider widget
Simulink Support Package for Android Devices / User Interface
Display a slider widget on the device screen.
The Slider block port outputs a single
precision value. The
output value depends on the position of the slider along the length of the bar. When
you slide to the leftmost position, the slider outputs the value of the
Minimum parameter. When you slide to the rightmost
position, the slider outputs the value of Maximum
parameter.
For simulations with no hardware connected, this block outputs the initial value.
The minimum value that the slider widget can output.
The initial value and position of the slider when the app starts.
The maximum value that the slider widget can output.
The smallest discrete increment change possible in the output value.
The frequency with which the slider value is read and output.
Smaller values for Sample time
require the
processor to complete the same number of instructions in less time,
which can cause task overruns.
Ambient Temperature Sensor | Humidity Sensor | Light Sensor | Work with BLE Blocks on Android Devices