You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
CodeSize displays information about the number of files/lines/characters within a given source file (*.m/c/h/java), function handle or project folder. CodeSize segments the results into comments and non-comments.
Now you can brag to your boss or client that your source code has a total of 2MB, with 40K lines, 25% of which are comments.
See contained help for usage and known issues/limitations.
Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)
Cite As
Yair Altman (2026). CodeSize (https://ch.mathworks.com/matlabcentral/fileexchange/15515-codesize), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (9.97 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Fixed processing recursion in class sub-folders; sorted subfolders/files; added block-comment disclaimer
|
