Next/continue pushbutton in gui matlab

2 ビュー (過去 30 日間)
Jessie Bessel
Jessie Bessel 2020 年 3 月 24 日
回答済み: Ameer Hamza 2020 年 3 月 24 日
Hi, I have an simple interface with one figure and one push button. When i push the button i want to plot a graph in the figure. But after, i want to push the button again and plot another graph, and after that, another one.
What function should I use in the callback of the pushbutton to make that?
Thank you!
  3 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 3 月 24 日
Denis - do you have a list of functions that you want to cycle through? How do you know what is the next function to plot?

サインインしてコメントする。

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 3 月 24 日
See the attached app to see an example of how to plot using the pushbutton callback.

Community Treasure Hunt

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

Start Hunting!

Translated by