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.
引用格式
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. 检索时间: .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!