Slider with two tips (Range Slider)
Version 1.0.1 (43.1 KB) by
Peyman Mostafaei
A Slider with two tips (Range Slider) using ROI points, ROI line and Axes in Matlab app designer
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 (2025). Slider with two tips (Range Slider) (https://www.mathworks.com/matlabcentral/fileexchange/134082-slider-with-two-tips-range-slider), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.