How can I Read all the details of my .txt file
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196150/image.png)
I want to read my .txt file in MATLAB and then keep specific rows and columns, Also would it be possible to read .txt file without mentioning it's name.txt in the process of reading the file ?
Thanks
2 个评论
Rik
2018-9-18
There are may examples of how to read the contents of a file that you can find online. What did you try and what errors did you get? This looks tab-delimited, so you should be able to read this to a matrix, or even a table with the built-in Matlab tools.
采纳的回答
更多回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!