Ken & Mike on the MATLAB Desktop

January 19th, 2009

The Data is in the Details

Do you want to know more information about a file listed in the Current Directory Browser? The Details Panel is just what you need. You can view the structure of files as well as interact with other Desktop tools like the Editor and Workspace Browser directly from the file’s internal structure.

For MATLAB-Files, view the description of the file (the first line of the comment that is returned from the help command — a.k.a the H1 line) as well as a list of sub functions and cells. If you want more information on one of those functions, just double click on it in the Details Panel to open the file in the Editor at that location.

Class files display object properties and methods. You can double-click on a property or method to open the class M-file in the Editor at that property or method definition.

MAT-files display their variables (similar to the workspace browser). And, if just looking at the MAT-file isn’t enough, you can add individual variables to your workspace by dragging them from the Details Panel displaying the mat file content and drop them in the workspace browser. You can also add/update variables in the MAT-File by dragging variables from the workspace browser and dropping them in the Details panel.

The view isn’t big enough for all your details? Change the height of the Details Panel by dragging the separator line up and down to resize the view as needed.

And of course if the Details Panel takes too much of your viewing real-estate, collapse the Details Panel by clicking the arrow in its title bar.

Hope this helps you keep track of your data details.

2 Responses to “The Data is in the Details”

  1. Gary replied on :

    Sounds great. How do I find it?

  2. Lori replied on :

    You need to be running R2008b for this feature.

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.
  • Ori: The current folder shortcut used to be alt-y. Now it is alt-o. However, while in the editor window, alt-o opens...
  • Jose Miguel: Hi First of all, thanks for the post, it is really useful. I am trying to develop a Java GUI within...
  • Ken: Hi Siddharth, There isn’t currently any way to move the docking controls. Feel free to submit an...
  • Phil: I have the same problem as described above with UITable working fine in the Matlab environment but showing no...
  • Siddharth: Is there any way to move the position of the docking controls (or eliminate them through some...
  • Chris: Yes, it is a challenge to organize functions into categories, especially with so many functions. Ken and I...
  • Mike: Thanks for fielding that one, Yair.
  • Yair Altman: Jimmy - if you mean that you wish to include hyperlinks in your function’s help comment, that will...
  • OysterEngineer: Thanks for explaining the Function Browser. I fired it up and gave it a try. It appears that it has...
  • Jimmy: Is there any way to include hyperlinks in a comment, such as the standard help at the beginning of a function?

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