フィルターのクリア

Numeric index Slider GUI

2 ビュー (過去 30 日間)
Andrea
Andrea 2013 年 10 月 8 日
コメント済み: Andrea 2013 年 10 月 8 日
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 日
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 日
I have to use a Edit Text or a Static Text?

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by