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

2 ビュー (過去 30 日間)
Mo Ba
Mo Ba 2017 年 7 月 5 日
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 Center および File ExchangeSpecifying Target for Graphics Output についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by