How delete property of a GUI?

2 次查看(过去 30 天)
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.

采纳的回答

Cris LaPierre
Cris LaPierre 2021-1-14
Try cla. You need to include your gui axes object.
cla(app.UIAxes)
  3 个评论
Cris LaPierre
Cris LaPierre 2021-1-15
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
Thank you for your answer. I just understand to how delete it with delete(). Thank you

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by