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


MathWorks

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

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