codecount

Counts the total number of code lines of all the M-files in a directory

You are now following this Submission

COUNTCODE - Counts the total number of code lines of all the M-files in a directory

Syntax options:
COUNTCODE
COUNTCODE(dir_str)
L = COUNTCODE
L = COUNTCODE(dir_str)

By default the current directory is scanned, and the result is displayed in the command window. Supply the string dir_str for scanning a directory
other than the current one. The result can be stored in cell-array L.

Cite As

Jasper Menger (2026). codecount (https://www.mathworks.com/matlabcentral/fileexchange/9114-codecount), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Bug fix...