How to concatenate multi-layered structs?
1 view (last 30 days)
Hello everyone, I have a 1x1083 struct (Scombined) which has about 1,083 1x20 cells in them. These cells also contain 20 different structs within them and here is a preview of how it is structured. I want to concatenate all columns of all the structs in the cells, cells Scombined(1).Data to Scombined(1083) to form one column respectively and then after concatentate all 1,083 cells by rows to form just one cell under the main struct Scombined. I am new to MATLAB so I am not sure of how to do this. It's really complicated for me.
I'd very much appreciate an answer or ideas on how to go about it, Thanks in advance !