Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How do I get the time value from text file?

1 Ansicht (letzte 30 Tage)
Chris
Chris am 29 Mai 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
KSSV
KSSV am 30 Mai 2018
Attach your text file..so that we can help you..

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by