Skip to content

close

plot · scripts/plot/util/close.m

close ()
close (h)
close (name)
close all
close all hidden
close (..., "force")
status = close (...)
  Close figures.  Without arguments the current figure is closed, H gives
  figure handles, NAME closes the figures with that Name, "all" closes
  every figure with a visible handle ("hidden": those with hidden handles
  too).  The figure's CloseRequestFcn runs unless "force" is given.
  Handles and names that match no figure are ignored.  STATUS is 1.