Desktop Tools and Development Environment Previous page   Next Page

Navigating Among Documents--The Document Bar

When you have more than one document open in a tool, each document is either maximized (the default) or positioned so that multiple documents are visible at once.

Click a document that is in view to make it the active document.

To go to an open document that is not in view, select the document name from the Window menu, or from the document bar.

To show the document bar, select Desktop -> Document Bar, and select a position for its location, for example, Right. To hide it, select Document Bar -> Hide from the Window menu or the document bar context menu. The names of all open documents docked together in that tool appear in the document bar. Select a document name in the document bar to make that document active. You can drag the document bar to another location, or select the new location from the Desktop -> Document Bar submenu.

If all the document names do not fit in the document bar, use the More Documents arrow button in the document bar to access additional open documents. Hover over the arrow to automatically scroll through all of the names, or click the arrow to quickly move through the names.

By default, the document bar displays a document name using 1/8 of the screen width. If document names are long, or if you have many documents open, the entire document name does not display, but instead, you see the first few characters followed by .... When the document bar is on the left or right, you can make the document bar wider by dragging the separator bar in order to see the complete document name. You can then move the document bar to the top or bottom and MATLAB maintains the larger width.

To alphabetize the names of the documents in the document bar, right-click in the document bar and select Alphabetize. This is useful if you have many documents open at once. You can also reorder the names by dragging: drag a name to a different position in the document bar. Another way to move document names is to right-click a document name in the document bar, select Move documentname from the context menu, and select a direction, such as to Beginning.

You can close a document by clicking its Close box in the document bar.

Undocked documents have entries in the Windows task bar. Select an entry to make that document active.

Positioning, Moving, and Resizing Documents

You can position open documents so that only one document or multiple documents are in view within their tool. Select the arrangement from the Window menu or use the buttons on the toolbar. Arrangements are

This example shows how to select an arrangement so that all three documents will be in view, arranged two above, one below, and one empty tile.

To position documents using the Window menu, move the mouse across the grid in the Tile submenu and click when the number and location of the tiles highlighted is what you want.

Image of Window menu showing Tile arrangement options.

The following arrangement shows three documents tiled in the Editor/Debugger, which is undocked from the desktop.

Image of three tiled documents.

To close an empty tile, move the cursor over the handle Image of tiled documents, highlighting handle on separator bar. on the separator bar, and then click the Close box that appears. If you click the handle between two open documents, both documents stay open, but one moves over the other, covering it up.

Select Window -> Minimize Documents to "hide" all open documents. When you select the Float option, you can minimize (hide) a document using the Minimize button in the title bar. To access a minimized document, select its name from the document bar or the Window menu.

To move or resize a maximized document, you actually move or resize the tool.

Resize a floating document by dragging any edge or corner of the window on Windows, or use the convention for your platform. Drag the title bar of a floating document to move it.

To resize documents that use the tiled or split arrangements, drag the separator bar that is between the documents.

To move a document in a tiled or split arrangement, drag the title bar of a document to another tile. If you drag it to a tile that already contains a document, the document you are dragging covers up the other document.

If a document is next to an empty tile, you can make the document larger and close the empty tile. Move the cursor onto the handle on the separator bar and click the Close box that appears.


Previous page  Opening Documents Closing Documents Next page

© 1994-2005 The MathWorks, Inc.