I have multiple folders with mutiple mat files which are structures with a table inside. Please see screenshot below of an exmaple folder and example mat file attached.
I want to:
Collate files ending with the same number (as in green below, these numbers may differ depending on a folder) into one mat file with a name ending with this speciif number (for example: Dot_DatSynced_ID001_001). This mat file should be a structure with tables named LShank, LThigh, Pelvis, RShank, RThigh.
Could you please help?