I used 5 sliders in which values of 1st is changing in edit box. Others are not changing. Coding attached.
Show older comments
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 Comments
Jan
on 6 Apr 2014
"It is not working" is not useful for a discussion.
Mina
on 6 Apr 2014
Jan
on 6 Apr 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?
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!