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.
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.
By
Kristin Thomas
Kristin is a developer on the MATLAB Desktop team. She works primarily on the Command Window when she is not throwing herself down a mountain on her snowboard.
This is fantastic tool to use for various purpose in addition to MATLAB. I used EditPlus for this purpose but it was not handy. Finding texts in MATLAB is wonderful. Thank you for this great tool.