Syncing both sliders and edit boxes

I have a gui with sliders & edit boxes in it.If i change slider position value is displyed on edit box,but how do we change slider position if value is changed in edit box.

 採用された回答

Walter Roberson
Walter Roberson 2012 年 7 月 2 日

0 投票

set( handles.Slider1, 'Value', str2double(get(handles.Editbox1, 'String')) )

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEncryption / Cryptography についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by