Hi everyone! How to read time (only hh:mm) from the text file (attached file). The first two digits represent the day of the month (DD), the second two-digit represent hours (hh) of the day, and the third two digits represent minutes (mm).
011300
021130
311400
311430
311500 ...
Can someone give me some hint?

댓글 수: 2

VBBV
VBBV 2021년 5월 8일
Use datetime function or datenum
Thanks a lot. It works. Example:
datenum('112230','ddhhmm')

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Import and Export에 대해 자세히 알아보기

질문:

2021년 5월 8일

댓글:

2021년 5월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by