Function to find line in directory or folder

Parses directory from the first arg for the specified string in the 2nd arg for filetype in 3rd arg

You are now following this Submission

This function can parse any readable filetypes as an input. It will open up another text file to write found strings with full filenames. It has been tested on .php .m .js. .html

Mark Sah

Cite As

mark sah (2026). Function to find line in directory or folder (https://www.mathworks.com/matlabcentral/fileexchange/41517-function-to-find-line-in-directory-or-folder), 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.0.0.0