Changing folder's name from unknown name

17 visualizaciones (últimos 30 días)
ori
ori el 14 de Mayo de 2014
Comentada: ori el 16 de Mayo de 2014
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?

Respuesta aceptada

Honglei Chen
Honglei Chen el 14 de Mayo de 2014
Editada: Honglei Chen el 14 de Mayo de 2014
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

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by