Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to write the codings to automatic calculate total of files saved in a folder according to the modified date?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am a new learner of Matlab. I have a lists of files saved in a folder with different modified date and time as everyday there will be new files being saved in the same folder, now i would like to calculate the total of files according to the modified date. How to write the codings to automatic calculate everyday according to modified date? the files are in '.spm'.
댓글 수: 0
답변 (1개)
Luis Gomes Perini
2015년 7월 14일
Hi,
the function you need is "dir", which returns a structure with name, date, size of the file:
>> file = dir('name_of_file.spm')
then you can access file.date and use it in your code.
Cheers
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!