File Exchange Pick of the Week

July 25th, 2008

WHATS

Aldo Caraceto, one of our Application Engineers from Italy, recently wrote to tell us about a new post on the File Exchange. He noted that this file was particularly cool because "it offers a feature which I would like to see natively in MATLAB," it has an easy-to-use syntax, and the code is tightly implemented. I agree on all counts!

This week's Pick of the Week is from repeat-offender Matt Fig. Matt's WHATS file works just like the built-in MATLAB command WHAT--it lists MATLAB files in the current directory. But the output of WHATS differs from that of WHAT in an important way: all of the returned strings are hyperlinked to the files they refer to. Click on a link to an MFile, and the MFILE opens in the MATLAB editor. Click on a link to a MAT file, and data contained in the file is automatically loaded:

Alternatives are always good. WHATS gives users a nice Command-Window alternative to using the Current Directory Browser. Old-school MATLABbers who like to show only the command window (remember that the MATLAB environment is completely customizable!) will particularly appreciate this file. Thanks for sharing it, Matt!

We'd love to hear your thoughts about Matt's file, or about things you've done to customize your experience with MATLAB. Use this Comments section to share your ideas on the topic!


Get the MATLAB code

Published with MATLAB® 7.7

2 Responses to “WHATS”

  1. Daniel Armyr replied on :

    I agree. This should be in native matlab.

  2. Manikandan replied on :

    Sir, I am in need of Matt Fig’s mail id, to contact him.
    Will be glad if I were given his mail id to my mail , manekantan@gmail.com

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).


Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

  • Zach: Hi Doug and Les, I didn’t have a lot of time to mess with this, but I did find a work-around. I plotted...
  • hamed: k
  • Les: @Zach This isn’t exactly what you are looking for but at least it puts all three parameters on the same...
  • Zach: Thanks for your suggestions Doug. I’ll give that a shot and see what happens. I’ve seen many of...
  • Doug: @Zach, I would say to use plotYYY, because that is close to what you want, but using depth as Y makes sense....
  • Doug: @Teja, I think this will work: http://www.mathworks .com/access/helpdesk /help/techdoc/ref...
  • Gify: merry christmas :) nice christmas tree! Regards, Janet Gify
  • Teja: Dear Doug Is there anyway to plot a surface from nonuniform data without meshgrid and griddata? Basically i...
  • Zach: I’m working with geophysical data, so I’d like to produce a depth profile. The y-axis would be...
  • Doug: @Ashok First, please do not use variable names that are MATLAB commands (std and mean). Second, p(j) should be...

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