Hi all, I extracted the numeric data from .tuv file but I still need to extract the date and time which is in the form of
%TimeStamp: 2017 07 02 05 00 00
the above line is just for one file, so I want to extract it from all files. how can I do that?
Thank you so much

 채택된 답변

Walter Roberson
Walter Roberson 2017년 9월 10일

1 개 추천

S = '%TimeStamp: 2017 07 02 05 00 00';
datetime(sscanf(S, '%%TimeStamp: %d%d%d%d%d%d').')

추가 답변 (0개)

카테고리

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

태그

질문:

2017년 9월 8일

댓글:

2017년 10월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by