Slider with two tips (Range Slider)

A Slider with two tips (Range Slider) using ROI points, ROI line and Axes in Matlab app designer
53 Downloads
Updated 19 Aug 2023

View License

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 (2024). 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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Addlistners did not have semicolon (;) at the end

1.0.0