How to continuously update a graph in GUI according to a slider value

1 次查看(过去 30 天)
Hello,
I have a figure on my GUI and also a push button object. When I press the push button, after some calculations are done, a rectangle will be drawn on the figure. I added a sample GUI to this question. I need to add a slider object to continuously move the center of the rectangle according to the value of the slider.In other words, I need to add an offset value to the location of the center of my rectangle and execute my push button function after any change occurred in value of slider object. Any idea and advice is appreciated. Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by