Numeric index Slider GUI
3 次查看(过去 30 天)
显示 更早的评论
Hi! I have 6 slider in my GUI and I want for each one a numeric index to show the actual numeric value moving the slider...is it possible? Thanks, Andrew
0 个评论
采纳的回答
David Sanchez
2013-10-8
If "my_slider_k" is the tag of any of your sliders,
slider_k_value = get(handles.my_slider_k,'Value');
then, set this value to a text object:
set( handles.my_text_thing_handle,num2str(slider_k_value) )
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!