dynamic range of slider in MATLAB GUI
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hey, if i want the slider range to be controlled by an input in the edit text, can i do that
0 Commenti
Risposta accettata
Fangjun Jiang
il 21 Giu 2011
Yes, you can.
Range=get(handleEdit,'string');
set(handleSlider,'Max',str2num(Range));
0 Commenti
Più risposte (1)
Walter Roberson
il 21 Giu 2011
Yes. Your callback function for the edit uicontrol can set() the properties of the slider.
0 Commenti
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!