How do i import a single txt file with multiple arrays aligned vertically into matlab?

3 views (last 30 days)
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.

Answers (1)

per isakson
per isakson on 27 Dec 2013
Edited: per isakson on 30 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!