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 Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by