FAST, PROGRAMMATIC string searching in directories of MATLAB code files

VERY FAST Command-Line searching for text contained in MATLAB code files.

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Brett Shoelson (2026). FAST, PROGRAMMATIC string searching in directories of MATLAB code files (https://www.mathworks.com/matlabcentral/fileexchange/48065-fast-programmatic-string-searching-in-directories-of-matlab-code-files), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0

Updated license

Download
1.4.0-0

(Once again, removed userpath).

Download
1.3.0

Added special handling for 2-input case:
a = findInM(searchstring,collection); AND, added "Current-Directory" search:
a = findInM(searchstring,'pwd').

Download
1.2.0

I made some general improvements, and allowed for sorting by date or size. Better auto-naming of code collections. Also added a screen shot.

Download
1.1.0

Better naming convention

Download
1.0.0

Download