How can I Read all the details of my .txt file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
mohsen moslemin
am 18 Sep. 2018
Beantwortet: mohsen moslemin
am 19 Sep. 2018
![](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 Kommentare
Rik
am 18 Sep. 2018
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.
Akzeptierte Antwort
Weitere Antworten (2)
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!