You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This program searches all .m files in current folder for lines containing a certain string, and print those in the command window in a nice table.
This is usable to examine, e.g. dependencies between functions, or find unsolved TODO's in a project.
Cite As
Petter (2026). mgrep: Grep function for matlab files (https://in.mathworks.com/matlabcentral/fileexchange/45492-mgrep-grep-function-for-matlab-files), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (3.14 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
