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

 채택된 답변

David Sanchez
David Sanchez 2013년 10월 8일

0 개 추천

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

Andrea
Andrea 2013년 10월 8일
with a Edit Text or a Static Text?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Andrea
Andrea 2013년 10월 8일

0 개 추천

I have to use a Edit Text or a Static Text?

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2013년 10월 8일

댓글:

2013년 10월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by