You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Like the "grep" functionality in the GNU Project, this program searches files for the presence of a search string. However, mfilegrep searches only mfiles. Searches can be recursive or non-recursive, and case-sensitive or non-case-sensitive, and can search for whole words or partial words. The result is returned in a cell array that contains the names of all mfiles on the specified path that contain the search string. Additionally, the user has the option of listing the text of all lines in the mfiles containing the search string.
Cite As
Brett Shoelson (2026). mfilegrep (https://uk.mathworks.com/matlabcentral/fileexchange/813-mfilegrep), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: mgrep
General Information
- Version 1.0.0.0 (3.76 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
