# close

## Purpose

Close window.

## Synopsis

    close(h)
    close

## Description

The `close` command closes the window unconditionally and without confirmation.

`close(h)` closes the window with handle `h`.

`close`, by itself, closes the current figure window.

## Examples

Close the current window by specifying its handle:

    close(gcf)

## See Also

    delete, figure, gcf

(c) Copyright 1994 by The MathWorks, Inc.