Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

Examples of Desktop Arrangements

About These Examples

Scan the illustrations in the following examples for a desktop arrangement similar to what you want, and then follow the brief instructions to achieve the arrangement. There are many different ways to accomplish the result; these instructions present just one way. The instructions might not apply exactly, depending on how your desktop looks before you start. For details, see Opening and Arranging Desktop Tools and Opening and Arranging Desktop Documents.

Tool Outside of Desktop and Other Tools Grouped Inside Desktop Example

This example shows two ways you can increase the size of a tool:

Image of MATLAB desktop showing Current Folder browser, Workspace browser, and Command History tabbed together, with the Command Window undocked from the desktop.

Maximized Tool in Desktop Example

This example shows a way you can temporarily increase the size of a tool so that it occupies the entire area of the desktop. In this example, the Command Window is temporarily maximized by clicking the Maximize button  Image of Maximize button. in the Command Window title bar.

Image of MATLAB desktop showing the Maximize button in the Command Window being clicked.

In this example, you return the maximized Command Window to its size and position in the desktop by clicking the Restore button in the title bar.

Image of MATLAB desktop showing Command Window maximized.

Minimized Tools in Desktop Example

Minimize a tool in the desktop to give the remaining desktop tools more space in the desktop. Minimizing is available on Microsoft Windows and UNIX[1] platforms. This illustration shows the button and associated tooltip for minimizing the Command History window to the left edge of the desktop.

Image of MATLAB desktop showing the Minimize button in the Command History being clicked.

This illustration shows the Command History minimized. It appears as a button along the left edge.

Illustration of MATLAB desktop with the Command History minimized.

To view or use a minimized tool temporarily, hover over or click the button representing the minimized tool. MATLAB temporarily displays the tool. This illustration shows the minimized Command History temporarily open, as a result of hovering over the button.

Illustration of MATLAB desktop with the minimized Command History temporarily opened.

When you select another tool, the tool on temporary display becomes minimized again.

To return the Command History to the position and size it occupied in the desktop before minimizing, do one of the following:

Tiled Documents in Desktop Example

When you open a document (for example, an M-file), it also opens the tool (for example, the Editor) if the tool is not already open. Subsequent documents of the same type open in the tool and you can then arrange the documents within the tool, as follows:

When tools and documents are docked, you can save space by hiding toolbars and document bars:

The following example shows two M-files, side-by-side, with the desktop shortcuts toolbar hidden.

Image of MATLAB desktop with two M-files side-by-side in the Editor and the Command Window below it.

No Empty Document Tiles Example

The following example illustrates many of the options described in this list for creating and manipulating tiled documents.

Image of Editor showing three open documents arranged in a grid. The fourth tile in the grid is empty before, but after, the third document occupies it.

Maximized Documents Outside of the Desktop Example

This example illustrates a way to provide a large area for multiple documents, in this case, M-files maximized in the undocked Editor.

Image of Editor undocked from the desktop, showing two M-files open, at a maximum size. Only one M-file is in view at any given time. Use the document bar to access the M-file that is not in view.

Some common actions for working with documents outside of the desktop are

Floating (Cascaded) Figures in Desktop Example

This example illustrates multiple figures in the desktop. By default, figures open outside the desktop. You can arrange and adjust the figures, as follows:

Image of MATLAB desktop showing Workspace browser and Command Window in it, along with two figure windows. The figure windows float, that is, you arrange them freely within the Figure window area.

Undocked Tools and Documents Example

You can use tools and documents outside of the desktop as illustrated in the example that follows.

To undock a tool and its documents:

  1. Select Desktop > Undock Toolname.

  2. Select Desktop > Undock Documentname from the tool.

If you undock all documents from a tool, an empty tool window remains.

To close all undocked documents and their tools at once, select Window > Close All Documents from an undocked document window.

Notice the following in this example:

Image of MATLAB desktop and two Editor documents and two Variable Editor arrays open outside of the desktop. The two Editor documents are separate from each other, as are the Variable Editor variables.


[1] UNIX is a registered trademark of The Open Group in the United States and other countries.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS