Last active
March 27, 2019 16:54
-
-
Save sshojiro/63e66a5883bd8eb30f2f193b93dcd74f to your computer and use it in GitHub Desktop.
[#matlab] 1行でタイムスタンプを打つ ref: https://qiita.com/sshojiro/items/47cdc635ee523c026baa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> timestampRegular = replace(join(split(datestr(now), ' '), '-'), ':', '-'); timestampRegular{1} | |
ans = | |
'28-Jul-2018-19-35-05' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> datestr(now,'yyyy-mm-dd-HH-MM-SS') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment