How do i import a single txt file with multiple arrays aligned vertically into matlab?
3 views (last 30 days)
Show older comments
I'm trying to batch import a number of txt files into matlab that are arranged with multiple data arrays in each file. Each file represents a multiple cross sections with x,y,z coordinates of a sample. The multiple cross sections are vertically arranged in the txt file with a space between cross sections (see attached file).
In the attached file there are 3 cross sections (section_1_1, section_1_2, section_1_3). I would like to import these so that each cross section is a different array. Can anyone help please?
Thanks in advance for any assistance you can provide.
0 Comments
Answers (1)
See Also
Categories
Find more on Text Files 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!