Ken & Mike on the MATLAB Desktop

October 13th, 2008

New and Updated Desktop Features in R2008b

R2008b (version 7.7) is here! With it comes a host of great new features and updates to MATLAB. Check out the full release notes here. Below, I’ve called out some of my favorite new and updated Desktop features.

Be sure to let us know what you think of these new features!

Function Browser
The Function Browser lets you search for functions based on name and their help contents. This tool was designed to dovetail into your workflow so that you needn’t switch windows to search for a function. You can access the Function Browser from both the Command Window and Editor by pressing the button.

Function Hints
Function Hints lets you view the syntax for a function in a popup window while you’re entering the function into the Command Window or Editor. This feature, like the Function Browser, was designed to fit into your workflow and help minimize switching between windows.

Current Directory
We’ve revamped the Current Directory Browser which now contains an address bar and details view. Common functions (e.g. New Folder, New File) can be found under the Actions button (I think this really helps to de-clutter the UI).

In the details view you’ll see more information about the selected item. For MATLAB files this will include functions, cells and properties. For MAT files, you’ll see their contents, so you no longer have to load the file before seeing what’s inside of it.

Help for User-Created Classes
You can now run the doc function on your own MATLAB Classes, which will open the documentation for your class right in the Help Browser.

Default Desktop Layout
We’ve updated the default Desktop layout to use three columns and we’ve rearranged where some components are by default. We think this new layout will help streamline your workflow.

To try the new layout, select Desktop > Desktop Layout > Default.

6 Responses to “New and Updated Desktop Features in R2008b”

  1. Ryan Gray replied on :

    Nice about the doc function working for user classes. Is there a chance of it sometime displaying published HTML documentation for user functions? I know showdemo does this, but my published HTML from a function is documentation, not a demo. Why does doc have to just display the same as help does for my function, or am I missing how I’m really supposed to do it?

  2. Naor replied on :

    Are Desktop Layouts “exportable”? If so, maybe you could let us try out the new desktop layout without installing r2008b? Or maybe even create a little gallery of desktop layouts that people can d/l if they are too lazy to create their own…

  3. junziyang replied on :

    Dose the Editor surport Fortran source code highlight now? It’s really an usefull feature for users to create Fortran MEX files. I also hope the mex function surport Fortran free format code compiling.

  4. Ken replied on :

    Hi Naor,

    Desktop layouts are in fact exportable (select the Desktop -> Save Layout… menu item).

    To try out the R2008b default layout, right click this link and save the file to your prefdir. Start MATLAB and select Desktop -> Desktop Layout -> r2008b.

    Alternatively, you could just arrange it like the screen shot!

    -Ken

  5. Ken replied on :

    Hi junziyang,

    The Editor does not currently support Fortran. Please submit an enhancement request here.

    -Ken

  6. Mike replied on :

    @Ryan
    If you have published help (I believe it has to be a function.html in the html subdir), then the help browser (and the HELP command) will have a link for showdemo for that file.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Ken & Mike work on the MATLAB Desktop team.
  • DP: Hi i have a problem with ezplot3, i want to plot more than i curve in the same graph but hold on command...
  • Ken: Hi Arsalan, Unfortunately there is no way to get the new Editor API in older versions of MATLAB. -Ken
  • Arsalan: Hi, I am very excited about the MATLAB API for editor because right now i am working on a project and i need...
  • Johannes: Since I started using matlab-emacs some days ago I never experienced Emacslink. But I experienced some...
  • Francisco J. Beron-Vera: Hi all, I have recently learned about ViEmu (http://www.vimemu.c om) which, for Vi/Vim...
  • OysterEngineer: When I first learned of the Publish feature in MatLab, I thought it might be useful to help to...
  • Ken: Hi Herve, I’m not quite sure what you mean by “stand-alone&# 8221; mode? -Ken
  • Herve: I wonder when the publish fonction will be supported in standalone mode.
  • Mike: Ravi, What you described should work as far I understand it. Please follow up with technical support. With a...
  • Mike: @Daniel, Thanks for that note.

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