필터 지우기
필터 지우기

Which function returns the date when a file was last modified in MATLAB 7.7 (R2008b)?

조회 수: 84 (최근 30일)

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
The DIR command in MATLAB 7.7 (R2008b) allows you to determine the date and time a file was last modified.
The following code returns a struct 'file' which contains a date field for file 'filename.m'.
file = dir('filename.m')
file.date
For more information on the DIR function, execute 'doc dir' at the MATLAB Command Prompt or navigate to the following documentation link:
<http://www.mathworks.com/access/helpdesk/help/techdoc/ref/dir.html>

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by