Import a .txt file with numbers and words
Show older comments
I need to import a .txt file that with numbers and words. In particular I need the first two numbers next to every "POINT" and the first number after "PATH", how can I do this?
I tried to import the .txt file using "Import Data" but this operation is too slow.
Thank you.
3 Comments
Akira Agata
on 14 Dec 2017
Could you upload an example of your text file?
KL
on 14 Dec 2017
Attach a dummy data file using the paperclip icon. That makes helping you easier.
Stephen23
on 14 Dec 2017
@Dario Anghileri: we cannot load a screenshot, or import it in any useful way. Even if someone patiently copied all of that data then it is unlikely that they would get the correct whitespace characters.
If you want help then please upload a real data file by clicking the paperclip button.
Accepted Answer
More Answers (0)
Categories
Find more on Text Data Preparation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!