
Undocumented Secrets of MATLAB
®
-Java Programming418
BlockIncrement ◾ — (default=100,000
†
) sets the change in the scrollbar value when-
ever the scroll-bar track is clicked, moving the knob a full “block”. The corresponding
MATLAB property is SliderStep (2nd value), that has a default value of 0.1. Note that
while Java denes increments as integers, MATLAB denes them as oating-point
portions. An internal algorithm (which changed in R2008b) preserves the correct
arithmetic ratios between BlockIncrement, UnitIncrement, VisibleAmount, Value,
Maximum, and Minimum.
Here is a simple example, showing corresponding values in MATLAB a ...