Slider with two tips (Range Slider)

A Slider with two tips (Range Slider) using ROI points, ROI line and Axes in Matlab app designer

You are now following this Submission

This examlpe shows you how to create a slider with two tips (instead of the usual one) in MATLAB app designer.
The code used two ROI points as the lower and higher tips of the slider and a ROI line to show the distance between them. In this example the lower point is always smaller or equal than higher point.
The axis of the slider is also created using an Axes option in app desinger.
The code is an improvement of a code presented by Marek Svoboda in an answer for the creation of a Range Slider in MALTAB app designer.

Cite As

Peyman Mostafaei (2026). Slider with two tips (Range Slider) (https://uk.mathworks.com/matlabcentral/fileexchange/134082-slider-with-two-tips-range-slider), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Addlistners did not have semicolon (;) at the end

1.0.0