mkcontnt

バージョン 1.0.0.0 (4.46 KB) 作成者: Denis Gilbert
Automates the generation of contents.m files
ダウンロード: 2.6K
更新 2001/10/8

ライセンスの表示

編集メモ: This functionality is now available in MATLAB. Please refer to the CONTENTSRPT.M function.

Do you find Matlab's contents.m files useful? Would you like to be able to easily generate contents.m files based on your own Matlab
programming? MKCONTNT will help you document your work while taking advantage of subtle features of the helpdesk.

In a directory containing your own m-files, it will open all m-files present in the directory, look for the first line with a '%' character, and assume that this line is the H1 line (first commented line). If a version of contents.m already exists in your directory, it makes a backup copy of it prior to creating the new contents.m file.

There are two caveats to be aware of: 1) no fancy editing is done, the H1 lines are copied exactly as they appear in the original m-files; 2) the users must develop the habit of writing informative H1 lines at the beginning of their m-files.

引用

Denis Gilbert (2024). mkcontnt (https://www.mathworks.com/matlabcentral/fileexchange/206-mkcontnt), MATLAB Central File Exchange. に取得済み.

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

ヒントを与えたファイル: MakeContents

Community Treasure Hunt

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

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