image thumbnail

slocdir( directoryPath )

version (977 Bytes) by Diffy D
Go recursively into folders to count the .m lines of code


Updated 31 Mar 2016

View License

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 :

Cite As

Diffy D (2022). slocdir( directoryPath ) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: sloc

Community Treasure Hunt

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

Start Hunting!