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.

  • oleg: The author has implemented skewness, kurtosis and checks answering appropriately to the critic.
  • Ashok: how to store 10 or more random number in a loop a loop for i = 1:n mean(i) = input(’enter the mean value...
  • Ben: Doug, Thanks for the very helpful videos! Uitables seem like a convenient way to make a customized property...
  • oleg: Allstats has no checks, no comments and could also be improved (talking about prctile implementatio). Not to...
  • Todd: Additional information and a link to download free MATLAB and Simulink LEGO MINDSTORMS NXT code can be found at...
  • Doug: @Leo, Here is the “English version” of that code. “vec = []” makes an empty variable...
  • leo: Dear Doug I have a question in your code ‘October 9th, 2009 at 13:53′ vec = []; vec = [vec val]; I...
  • Shanker Keshavdas: You sir, are a gentleman and a scholar… No really, helped me out a lot. As to what is...
  • Quan Zheng: how can I get a copy of stepspecs.m?
  • Doug: @Lucy I think this is what you seek to move a line with the mouse in MATLAB. http://blogs.math...

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