How do i import a single txt file with multiple arrays aligned vertically into matlab?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!