Syncing both sliders and edit boxes

11 vues (au cours des 30 derniers jours)
Luffy
Luffy le 2 Juil 2012
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 2 Juil 2012
set( handles.Slider1, 'Value', str2double(get(handles.Editbox1, 'String')) )

Plus de réponses (0)

Catégories

En savoir plus sur Encryption / Cryptography dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by