using command readcell to read specific structure
Afficher commentaires plus anciens
Hi, I have discovered that I have some issues when combining the output data that were saved in a text file. I tried to use readmatrix but some data are lost.
For example, I have attached three text files that contains cell data with columns and rows. The number of columns have a constant value of 70, and the number of rows it may vary from each file. When I have created a foor loop to read all the data and combine them in a global matrix, I realized that some files files are read as cell arrays and they are not separated like the others and create an issue when combining them. I was trying to spit the files and create some conditions for those cases but some data is loose and the number of columns changes. I would appreciate the help.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Text Files dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!