I need to import multiple text files into one single timetable.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
PADMAKAR
le 3 Août 2023
Réponse apportée : Walter Roberson
le 3 Août 2023
I have multiple text files (all with same data, but different time stamps). I need to create one single timetable, so I can create a single timetable for further data manipulation.
Matlab does not allow using a loop to create an array of timetables (for each text file) that can later be concatenated by another loop into a single timetable?
0 commentaires
Réponse acceptée
Walter Roberson
le 3 Août 2023
pre-initialize a cell array according ot the number of files. Loop over the files, reading in the timetable and storing it at the appropriate offset of the cell array.
After the loop,
CombinedTable = vertcat(CellArrayOfTables{:});
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!