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
引用格式
Diffy D (2026). slocdir( directoryPath ) (https://ww2.mathworks.cn/matlabcentral/fileexchange/24000-slocdir-directorypath), MATLAB Central File Exchange. 检索时间: .
致谢
参考作品: sloc
