sloc

Count lines of source code for an M-file

Télécharger
Télécharger

Vous suivez désormais cette soumission

Citation pour cette source

Raymond Norris (2026). sloc (https://fr.mathworks.com/matlabcentral/fileexchange/3900-sloc), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : slocDir, slocdir( directoryPath )

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0

Bug fixes:
(1) The MATLAB Profiler does not include the "function" line in it's metrics, so do not count the "function" line or any "function" lines for subfunctions. (2) Also, functions (particulary nested) may be indented, so minor fix for that.

Télécharger