I used 5 sliders in which values of 1st is changing in edit box. Others are not changing. Coding attached.
Afficher commentaires plus anciens
i want to add edit box for each slider separately but if we continue coding with defined functions for each slider its not showing separate edit box for each slider rather the values are represented only in the 1st box for each slider please tell me how can i add different edit box for each slider. Also I have changed the position of edit box 2 for slider 2 but its not working.
3 commentaires
Jan
le 6 Avr 2014
"It is not working" is not useful for a discussion.
Mina
le 6 Avr 2014
Jan
le 6 Avr 2014
No, Mina, I did not. Did you get an error message or do the results differ from your expectations?
You do add different edit boxes for each slider every time the callback is called. But you add all these boxes at the same position [580 430 100 30]. It looks strange to add a new box instead of updating the string of an existing box only. Your code is hard to read due to the missing standard indentation and a lot of out-commented code.
What exactly is your question? Could you narrow down the piece of code which does not work as expected?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!