Effacer les filtres
Effacer les filtres

How to find file last modification date?

40 vues (au cours des 30 derniers jours)
Giorgi
Giorgi le 9 Juin 2015
Commenté : Giorgi le 9 Juin 2015
Heloo all I have some mat files that contains some numbers. and I have variable x that contains the one of this mat file name. now I want to figure out the last modification date of this mat file through x variable input. I tried to do this in such a way but failed.
file=dir('x{1,1}.mat')
file.date
Any idea would be a great job for me.
Thanks in edvance

Réponse acceptée

Walter Roberson
Walter Roberson le 9 Juin 2015
file=dir([x{1,1} '.mat'])
file.date
  1 commentaire
Giorgi
Giorgi le 9 Juin 2015
Thank you very much :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by