slocdir( directoryPath )

Version 1.1.0.0 (977 octets) par Diffy D
Go recursively into folders to count the .m lines of code
1,2K téléchargements
Mise à jour 31 mars 2016

Afficher la licence

A simple recursive function which uses the sloc function to count the number of lines of .m code.
The sloc function can be found here : http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=3900&objectType=file

Citation pour cette source

Diffy D (2024). slocdir( directoryPath ) (https://www.mathworks.com/matlabcentral/fileexchange/24000-slocdir-directorypath), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur File Operations dans Help Center et MATLAB Answers
Remerciements

Inspiré par : sloc

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.1.0.0

Fix a bug, change strcmp to strcat in the warning

Updated accordingly with the comments given by users

1.0.0.0