File Exchange Pick of the Week

October 17th, 2008

Faster, easier file finding

So you kind of remember what you named that file, but you don't remember exactly where you put it. Sound familiar? You have some options for finding that file. It's likely that your OS has a file-finding utility that supports wildcard searching, though limiting your search to your MATLAB path might not be trivially easy. Or you can use MATLAB's Find Files tool. But Brett's Pick this week provides an approach that is sure to become a favorite. With WWHICH ("Wild Which"), by fellow MathWorker Lucio Andrade-Cetto, wildcard searching is fast and easy.

Let's say, for instance, that I remember writing a file to expand or contract axes when I click on them. I know that the file had "expand" in its name, but then my memory fails me. (Maybe I'm just getting old.) Look how easy (and fast!) finding that file can be:

And there it is..."expandAxes," with an example!

Back in July, I blogged about a user-contributed utility called WHATS that expands MATLAB's WHAT function to include hyperlinks. Today's Pick provides another tweak to improve your MATLAB experience!

Tell us here about your own utilities for customizing the way you work in MATLAB. Or better yet, post your utilities to the File Exchange!


Get the MATLAB code

Published with MATLAB® 7.6

4 Responses to “Faster, easier file finding”

  1. Thierry Dalon replied on :

    I think whichx (FX #9076) by E. Tarajan is better. You have useful hyperlinks in the displayed results like in whats. BTW it is an older pick of the week!

  2. Aurélien Queffurust replied on :

    So do I . I have been using whichx from Elmar for several years . I know it keeps improving it. It is really an useful tool.

  3. Aurélien Queffurust replied on :

    So do I . I have been using whichx from Elmar for several years . I know he keeps improving it. It is really an useful tool.

  4. Brett replied on :

    Thierry and Aurelien,

    It’s hard enough to remember what I picked last week, much less what Scott and Doug featured two and a half years ago. :)

    But thanks for sharing this; I’m glad to hear that Elmar’s file works so well for you. I’m going to give it a try myself.

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.