I'm trying to import two csv. files into matlab. The first file is with headers, known number of columns(3), and unknown number of rows.The second file is a bit complex. The examples of them are shown in the pictures.
Note that for the second file, the format of first three rows are fixed, while the counts of Type A and type B are unknown. Type A and type B occur randomly, and for type B the header 8 does not have a value. I've tried csvread, textscan and dlmread without much luck.Any suggestions will be appreciated!
Best Answer