mfilegrep

Returns the names of all m-files within the specified path containing a specified search string.

您现在正在关注此提交

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.

引用格式

Brett Shoelson (2026). mfilegrep (https://ww2.mathworks.cn/matlabcentral/fileexchange/813-mfilegrep), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: mgrep

类别

Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0