Generate [file/folder/any] name based on current time
Version 1.0.0.0 (1.06 KB) by
sunil anandatheertha
Generate [file/folder] name based on current time. Useful for some automated folder/file creation.
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.. ;)
Cite As
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. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Weather and Atmospheric Science in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |