Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Inside the MATLAB Desktop

September 10th, 2007

Where did my M-file run off to?

After you have been writing M-code for a while you gather lots of M-files possibly scattered over many directories. Finding that one piece of text that you are looking for without exactly knowing where it is, is difficult. The Find Files tool is perfect for this kind of task.

Find Files is accessible from the “Edit” menu, “Find Files…” menuitem.

Recently I was working on some M-code that generates a web photo gallery from a directory of images. I went back to work on it a couple of weeks later and couldn’t remember where I had stored the files. To find the code I will use the Find Files tool to search my home directory.

Incremental Search Box


Now that I’ve found it, I can turn on the option to see full pathnames to see exactly where the file lives. I didn’t really even need the full pathname since I can just double click to open the file in the editor to the line that was found.

Incremental Search Box


Leave a Reply


Inside the MATLAB Desktop is written by the MATLAB Interface teams.

Team picture
  • Ken: Hi Bjoern, We’re currently working hard to make it easier to add support for additional languages in the...
  • Bjoern: Hi, As all the other matlab users out there who have to work with different programming languages - I would...
  • Mike: bswang, Depending on where your data is coming from, it may not be available from your standalone program (e.g....
  • Ken: Hi Han, Thats an interesting idea, one also present in Xcode via the #pragma mark token. There’s a school...
  • Han Geerligs: Hello Ken, how about introducing the “region” concept as used in the Visual Studio...
  • bswang: I use a uitable in guide. The uitable works well on the matlab environment. But when i build the mytest.m...
  • Jennifer French: Hi Stephen, Thanks for posting about dataset. Its great to hear about techniques that work well for...
  • Jennifer French: Hi Quan, Thanks for sharing those techniques for working with excel! They sound quite useful and...
  • Ken: @Steven: Thanks for the great feedback! We’d love to hear more about how you use the dataset function when...
  • Ken: @Quan: xlsread is a great function! Also, I like your cut and paste technique.

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

Related Topics