You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
N = COUNTCODE(MFILE) returns the number of code lines in MFILE. MFILE should be a string containing a name to an existing m-file or asv-file.
[N,M] = COUNTCODE(MFILE) also returns the number M of commented lines in the file. [N,M,S,Q] = ... further returns a cell array of strings S containing all lines of the file (code and comment, but excluding empty lines) and a logical vector Q with ones for the comment lines of S.
Note: this file use <regexp>
Cite As
Jos (10584) (2026). COUNTCODE (https://www.mathworks.com/matlabcentral/fileexchange/10175-countcode), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.71 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
