MATLAB Answers


How do i delete all figure handles in the middle of iteration in MATLAB GUI ?

Asked by Vasishta Bhargava on 20 Mar 2019
I have a GUI, which has several pushbuttons,
One of the pushbuttons, will run an iterative code and plot them using plot / contour functions on GUI layout
However, after press of pushbutton, in event of an abrupt stopping of iteration, and pressing another pushbuttons it is not deleting old figures /charts
if i want to delete/clear the figure handles in the middle of iteration, how can i do it ?


Sign in to comment.

0 Answers