how to split these char format into lines
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Walter Roberson
2020 年 7 月 17 日
regexp(w, '\r?\n', 'split')
カテゴリ
ヘルプ センター および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!