Generate [file/folder/any] name based on current time

Generate [file/folder] name based on current time. Useful for some automated folder/file creation.
ダウンロード: 419
更新 2012/1/18

ライセンスの表示

Generate filename (a string basically :P) based on current time.

example:

>> [filename] = genFilename()
filename =
2012_1_18_23_14_44.343

use it to create a folder such as 'code backup', where it might be necessary to automate the code backing up process upon each code edit..!!!.. or anything else.. ;)

引用

sunil anandatheertha (2024). Generate [file/folder/any] name based on current time (https://www.mathworks.com/matlabcentral/fileexchange/34658-generate-file-folder-any-name-based-on-current-time), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersWeather and Atmospheric Science についてさらに検索

Community Treasure Hunt

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

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