フィルターのクリア

Reading time from the text

2 ビュー (過去 30 日間)
Vijay Sagar
Vijay Sagar 2021 年 5 月 8 日
コメント済み: Vijay Sagar 2021 年 5 月 8 日
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
Vijay Sagar
Vijay Sagar 2021 年 5 月 8 日
Thanks a lot. It works. Example:
datenum('112230','ddhhmm')

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeText Data Preparation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by