Desktop Tools and Development Environment Previous page   Next Page

Closing Documents

To close a document, click the Close box in that document's title bar. If you select the Close box for the tool, all documents in that tool close. See the following illustration for an example. For Editor/Debugger documents, if you have unsaved changes, a dialog box appears asking if you want to save the document. If you do not want to see the dialog box and do not want to save any unsaved changes, hold Ctrl and click the Close box.

You can also close documents using any of these methods:

For example, in the undocked Editor/Debugger, select Window -> Close Documents to close all documents in the Editor/Debugger. The Editor/Debugger remains open with no documents in it, and any undocked Editor/Debugger documents remain open.

For an undocked document or tools, you can right-click the task bar entry and select Close.

When there are open documents that are not docked within their tools, close all open documents and document tools by selecting Window -> Close All Documents from the desktop.

Image of document in tool, highlighting the close box for the tool (in the tool\xd5 s title bar), and the close box for the document (in the document\xd5 s title bar).


Previous page  Navigating Among Documents--The Document Bar Moving Documents and Tools Out of the Desktop (Undocking) Next page

© 1994-2005 The MathWorks, Inc.