Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Inside the MATLAB Desktop

August 29th, 2007

I Came, I Saw, I Created my own Desktop Layout

When I watch customers use the Desktop, I often see that there is one part of it that gives them the most trouble: moving desktop components to organize the layout. Layout out components is easy to do once you know the trick. As an example, I’ll show you how to move the Workspace browser to a tabbed position with the Command History.

Dragging

From the default layout, I first grab the Workspace titlebar and drag it around. The important thing to remember about getting it to lock into the right place, is to NOT LET GO of it until you see the black lines indicate the correct position. For example, as I drag the Workspace browser, I see black lines that don’t line up with the position I want:

Incremental Search Box


And, I don’t want this position either! I’ll keep dragging to find the right spot:


Incremental Search Box


Now, I see the outline that matches the position I want, like this one:


Incremental Search Box


There are so many different positions that the window can drop into and these little black lines are your guide to moving the windows into the spots that you want.

Dragging

After you have spent a bit of time getting the layout just the way you like it, save the layout so you can easily get it back later. Go to the “Desktop” menu, “Save Layout…” menuitem. Enter a name for the layout and hit ok:

Incremental Search Box

After the layout has been saved, you can re-set it by going to the “Desktop menu”, “Desktop Layout” menuitem and choosing your saved layout.

Incremental Search Box

4 Responses to “I Came, I Saw, I Created my own Desktop Layout”

  1. Dan Kominsky replied on :

    Kristin,
    I have a question regarding the desktop layouts. Why can’t the deploytool remember its location in a desktop layout? Or, is there a way to make it do so? I would appreciate this being addressed at some point.

    Thanks,
    Dan

  2. jason replied on :

    Are the desktop layouts easily transferable between matlab versions or between computers? I use both 2006b and 2007a (because of some bugs) on a laptop (small models) and a desktop (larger, longer models). I’d love to be able to copy (rsync or unison) a single file between all four matlab installations.

  3. Peter replied on :

    Dan,

    I don’t know of any way to make the deploytool rembember its location in the current release (2007a) but have you checked out the 2007b prerelease…

  4. Peter replied on :

    Jason,

    There are some limitations but layout files can be shared between MATLAB versions. When you save a layout, say naming it “My Layout”, a file named “My LayoutMATLABLayout.xml” is written to the MATLAB prefdir. You can manually copy this file to the prefdir of another release. In fact when you install a new release these files are automatically carried forward. The limitation is that if you create a layout under 2007a which places components in the newly introduced minimized or maximized states then 2006b won’t know how to interpret the layout file.

Leave a Reply


Inside the MATLAB Desktop is written by the MATLAB Interface teams.

Team picture
  • Etienne: Hello, Is it possible to change the background color of a particular cell?
  • Ken: No problem Mark…glad to help. Enjoy your font!
  • Mark Andrews: Ken, thanks for replying @3 and giving such clear instructions on how to get this to work.
  • Steve Eddins: Hi Ken, Every year or so I try to find a programming font that would really make me happy. A couple of...
  • Ken: @Jiro: Andale Mono looks nice! I especially like the rendering of the letter “g”.
  • Ken: Hi Mark, The issue your referring to (see the bug report here) was fixed in version 7.5 (R2007b). The problem...
  • Jiro: Ken, That’s a nice font. I use “Andale Mono” which has a similar look. I also like the clear...
  • Queffurust: This is my “cleanup” ; shortcut clc % clear Command Window close all hidden % deletes all...
  • Mark Andrews: Ken, should this work with version 7.0 (R14) on Windows? My favorite font is Consolas, but MATLAB seems...
  • Mark Feldman: Like Bryan (#38) and Kim (#40), I strongly request that you add native vi key bindings to the MATLAB...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.

Related Topics