Effacer les filtres
Effacer les filtres

Getting time-stamps of file creation in millisecond accuracy

4 vues (au cours des 30 derniers jours)
Liran
Liran le 26 Mar 2015
Réponse apportée : Jan le 26 Mar 2015
1. Is there a way to do that in matlab ? (btw converting the datenum to a format with milliseconds just puts 000 there)
2. I know that the information is stored be cause i can access it via windows powershell (4.0) : gci | %{$.name + " {0:yyyy-MM-dd_HH:mm:ss.fff}" -f $_.creationtime}_
but when i try running it on matlab : !powershell gci | %{$.name + " {0:yyyy-MM-dd_HH:mm:ss.fff}" -f $_.creationtime}_
i get :
'%{$.name' is not recognized as an internal or external command, operable program or batch file._
Any insights?

Réponse acceptée

Jan
Jan le 26 Mar 2015
This C-Mex can get the file time even in the native format: 0.1 mysec ticks since 01-Jan-1601: FEX: GetFileTime

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion 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