slocdir( directoryPath )

Go recursively into folders to count the .m lines of code

Al momento, stai seguendo questo contributo

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

Cita come

Diffy D (2026). slocdir( directoryPath ) (https://it.mathworks.com/matlabcentral/fileexchange/24000-slocdir-directorypath), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato da: sloc

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
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