matdoc

バージョン 1.0.0 (1.24 KB) 作成者: Meng Wang
comment/document the data when saving it
ダウンロード: 12
更新 2019/12/18

ライセンスの表示

Usage case:
I usually save the varible data with comment, for later reference. The comment include which code file generates this data variable, when the data is saved, and other additional information I add.
So this function allow you to input the key-value pair to comment, and it will automatically add the time and generating codefile information.

Usage syntax:
S = matdoc(key1,value1,key2,value2,... )
e.g. S=matdoc('winSize','1s')
S will be a struct containing fields: winSize, codefile, time.

Then, you could save your data with S,
e.g. save(pathVar,'data','S');

引用

Meng Wang (2024). matdoc (https://www.mathworks.com/matlabcentral/fileexchange/73714-matdoc), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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