How to collate mutiple mat files based on their name?
2 views (last 30 days)
Show older comments
Hi all,
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/866025/image.png)
0 Comments
Answers (0)
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!