searchtext

Version 1.0.0.0 (7 ko) par Kevin
Search text in files.
897 téléchargements
Mise à jour 29 mai 2007

Aucune licence

This is similar to grep in Unix. Recursive search. Ignore certain files and directories.

Example 1: Do the following search:
(a) Root directory is 'dlog'.
(b) Include all subdirectories under 'dlog'.
(c) Search for all files.
(d) Include any line that has the word 'TODO' in it. Case-sensitive.
>> searchtext('dlog', 'TODO', '', 1);
OR
>> searchtext('dlog', '*', '', '*', '', 'TODO', '', 1);

Do 'help searchtext" to see all examples.

The zipfile contains 3 files:
searchtext.m
searchfile.m
searchdir.m

All 3 files are fully documented in H1.

Citation pour cette source

Kevin (2024). searchtext (https://www.mathworks.com/matlabcentral/fileexchange/15121-searchtext), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2006b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Search Path dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0