dynamic range of slider in MATLAB GUI
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hey, if i want the slider range to be controlled by an input in the edit text, can i do that
0 commentaires
Réponse acceptée
Fangjun Jiang
le 21 Juin 2011
Yes, you can.
Range=get(handleEdit,'string');
set(handleSlider,'Max',str2num(Range));
0 commentaires
Plus de réponses (1)
Walter Roberson
le 21 Juin 2011
Yes. Your callback function for the edit uicontrol can set() the properties of the slider.
0 commentaires
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps 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!