MATLAB: Closing a specified figure (if exist) closingfigurespecified does anyone know how to close a specified figure if it exists currently? for example: h=figure if h exists close(h) end Best Answer h = figure;if ishandle(h)close(h)end Related SolutionsMATLAB: Figure count h = findobj('type','figure');n = length(h);And you can set the properties of all three at once using their handles - stored in h. MATLAB: Close all figure files without closing gui design file… h=figureclose(h) Related QuestionClose a specific figure fileCommand for copy a figure and put it in a specified folder in a specified name and then close itClosing specific figure handlesIs it possible to write a code that experiments with zero mean Gaussian noise for a variance in the range 0.001 to 0.1Check if figure exists whithout making it appear and using its figure number in findobj()Save figure
Best Answer