mgrep: Grep function for matlab files

Find code lines with certain contents in current folder

You are now following this Submission

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

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Just a better describing title

1.0.0.0