当前位置: 动力学知识库 > 问答 > 编程问答 >

how to create a .mat file with current time stamp in matlab?

问题描述:

I want to create a .mat file with current time stamp in matlab ? I want the name of the .mat file to be the current time.

网友答案:

Use datestr to format the time and use nowto get the current time:

save(datestr(now,30))
分享给朋友:
您可能感兴趣的文章:
随机阅读: