Getting time-stamps of file creation in millisecond accuracy
조회 수: 4 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Jan
2015년 3월 26일
This C-Mex can get the file time even in the native format: 0.1 mysec ticks since 01-Jan-1601: FEX: GetFileTime
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!