slocdir( directoryPath )
Version 1.1.0.0 (977 Bytes) von
Diffy D
Go recursively into folders to count the .m lines of code
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
Zitieren als
Diffy D (2026). slocdir( directoryPath ) (https://de.mathworks.com/matlabcentral/fileexchange/24000-slocdir-directorypath), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2007b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu File Operations finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: sloc
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 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 |
