How to update values in a graph taken from a slider
Show older comments
I'm programming a PID (GUI) for a control system, but I have problems with the sliders. I can not make the graph updates as you move the slider.
I have to do that every time the slider is moved to update the graphics, without pressing any additional buttons.
Answers (1)
Azzi Abdelmalek
on 9 Dec 2012
0 votes
You need to insert a plot function inside a slider function callback.
2 Comments
Carlos Zuñiga
on 9 Dec 2012
Edited: Carlos Zuñiga
on 9 Dec 2012
Azzi Abdelmalek
on 9 Dec 2012
What is sys? can you post the full slider1_Callback function?
Categories
Find more on Classical Control Design 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!