Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How do I get the time value from text file?

조회 수: 1 (최근 30일)
Chris
Chris 2018년 5월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
I've prompted the user to select a text file. On the third line of the file is some text ("This is the time") followed by a colon and a couple of spaces. After those space is a date in the format of YYYY, MM, DD, HH:MM:SS.
As it stands now, I'm able to store the name of the file and its path, which is outside of the MATLAB directory. Experimenting with textscan delimiters didn't seem to work...
How can I get MATLAB version 2018a to pull that value of time so I can perform operations with it?
  댓글 수: 1
KSSV
KSSV 2018년 5월 30일
Attach your text file..so that we can help you..

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by