How delete property of a GUI?

3 views (last 30 days)
I have designed an animation on GUI ,How can I delete the aniamtion please ?I dont want to close the figure just removing the aniamation and start to animate again.

Accepted Answer

Cris LaPierre
Cris LaPierre on 14 Jan 2021
Try cla. You need to include your gui axes object.
cla(app.UIAxes)
  3 Comments
Cris LaPierre
Cris LaPierre on 15 Jan 2021
cla will clear patches. Anything you plot is on an axes.
This might be easier if you share your code for creating the animation.
KEYVAN PEBDANI SAHRAEI
KEYVAN PEBDANI SAHRAEI on 15 Jan 2021
Thank you for your answer. I just understand to how delete it with delete(). Thank you

Sign in to comment.

More Answers (0)

Categories

Find more on Animation 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!