Syncing both sliders and edit boxes

조회 수: 11 (최근 30일)
Luffy
Luffy 2012년 7월 2일
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일
set( handles.Slider1, 'Value', str2double(get(handles.Editbox1, 'String')) )

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by