I have data organized in folders. Each folder contains a structure. I need to go through all the folders retrieving some of the fields from the structures, and organize the data in a new structure.
The folders are folder_1, folder_2.....folder_n. Each folder contains a structure called motion_data. I need to extract the information from motion_data.response.X, which is a 20x15 double.
I would like to structure the extracted data in the following manner:
Can I get help with this? I'm not sure waht is an efficient way to go through all the folders and retrieve the info to save it in the new structure.