Counts the lines of source code in an M-file.
A line of source code is defined to be not a comment line, not a continuation of a previous line, and not an empty line.
The function line is included. SLOC returns the line count for the entire file, not for individual functions of a file.
If more than more statement is on the same line, that it treated as one line. For example, the line:
minx = 32; maxx = 100;
is one line of source code.
인용 양식
Raymond Norris (2026). sloc (https://kr.mathworks.com/matlabcentral/fileexchange/3900-sloc), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
도움
도움 준 파일: slocDir, slocdir( directoryPath ), Code for Webinar "Signal Processing and Machine Learning Techniques for Sensor Data Analytics", Code for Webinar "Signal Processing for Machine Learning"
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 | Bug fixes:
|
