close
Close one or more figures.
Syntax
Section titled “Syntax”closeclose(h)close allDescription
Section titled “Description”Without arguments, closes the current figure. With a figure handle or number, closes that figure. With 'all', closes every open figure.
Examples
Section titled “Examples”closeclose(2)close all