Please post a relevant part of the original file. "<a space>", "Text Text", "<n times>" are neat, but nor uniquely clear. Remember to tell us, what you want as result. Importing it by fileread is trivial.
read big text file
1 次查看(过去 30 天)
显示 更早的评论
Any idea on how to import data from a text file containing integers and text like this:
<a space>
Text Text Text Text
Text Text
Text
More Text
name month month month month month month month month month month month month total
11513 19 33 150 233 311 143 352 180 378 22 9 35 1865
10724 **** **** **** **** **** **** **** **** **** **** **** **** ******
11505 21 48 146 350 290 258 422 741 207 24 0 92 2599
11513 73 20 163 317 321 191 423 **** **** **** **** 0 ******
text
name month month month month month month month month month month month month total
11513 19 33 150 233 311 143 352 180 378 22 9 35 1865
<n times>
thank you
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!