lineCounter(input)

バージョン 1.0.0.0 (3.34 KB) 作成者: Jason Kulpe
Count the number of lines in a single m-file or the m-files in a directory.
ダウンロード: 17
更新 2017/8/11

ライセンスの表示

At present there is no built in MATLAB tool to count the number of lines in a given m-file. This submission solves that problem. In addition to a single m-file, the function looks in a given directory, and all sub-directories, to give the total number of m-files and total number of lines. Comments and white space are included in the count. This function will work for any version of MATLAB

引用

Jason Kulpe (2024). lineCounter(input) (https://www.mathworks.com/matlabcentral/fileexchange/64081-linecounter-input), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFile Operations についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Backdated version to R2013a since the "newest" function required is in that release.