Hi there!
I've the following struct array
Astruct = struct with fields: data1: [10×5 double] data2: [10×5 double]
I would like to append a column header to the values stored in the above-metnioned struct before writing to an excel sheet.
data1_header = [1,3,2,4,5];data2_header = [1,2,3,4,10];Astruct = struct with fields: data1: [10×5 double] % header 'col' + data1_header : ['col1','col3','col2','col4','col5'];
data2: [10×5 double] % ['col1','col2','col3','col4','col10']
Any suggestions on how to do the above will be of great help
Best Answer