I want to change folder's name, but the only thing I know about the folder that it's the latest folder created in the folder where it located. How can I do it?

 채택된 답변

Honglei Chen
Honglei Chen 2014년 5월 14일
편집: Honglei Chen 2014년 5월 14일

0 개 추천

d = dir;
The above command returns a struct array which has a field called datenum. Each file in the current directory corresponds to an entry in the array. The latest file will have the largest datenum

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기

태그

질문:

ori
2014년 5월 14일

댓글:

ori
2014년 5월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by