How many M-codes have you written?

버전 1.0.0.0 (1.94 KB) 작성자: Zhiqiang Zhang
This script let you count the number of M-codes you have written under specific directory.
다운로드 수: 805
업데이트 날짜: 2011/3/24

라이선스 보기

MCount counts the number of M-codes you have written.

MCount.lines(path) count the lines you have written under directory filepath.

MCount.reallines(path) count the lines you have written under directory filepath, but omits the emtpy lines and comment lines.

MCount.size(path) adds up the size of your m-files under directory filepath

All of them support multi-paths (in cells), for example,
MCount.lines({'patha', 'pathb/pathc', 'filed'});

My(zhang@zhiqiang.org) result: in recent 1 year, I wrote 19524 lines of M-codes totally, 12311 lines except for empty lines and comments lines, 603K in file size.

url: http://zhiqiang.org/blog/it/how-many-codes-have-you-written.html

인용 양식

Zhiqiang Zhang (2024). How many M-codes have you written? (https://www.mathworks.com/matlabcentral/fileexchange/30843-how-many-m-codes-have-you-written), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0