mgrep
Returns the names of all m-files in a directory or directory tree that contain a search string.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
John D'Errico (2026). mgrep (https://au.mathworks.com/matlabcentral/fileexchange/9594-mgrep), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: mfilegrep
Inspired: "contains" with multiple conditions, Find 'orphaned' m-files, Toward a program development and documentation toolbox
General Information
- Version 1.0.0 (5.11 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 | Discussions with Brett found a few new ways to improve the code. |