how to split these char format into lines
Ältere Kommentare anzeigen
I have a char format data which is read from the last several lines of a file, from Linux system, by command provide by this answer:

however, I failed to find the way to split them into lines, I tried 'split' function with different deliminter such as '/t','/n', etc., but all failed.
could anyone give me some suggestions? please see attahce file.
Thanks!
Yu
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 17 Jul. 2020
regexp(w, '\r?\n', 'split')
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!