Combide data using the command readcell
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 x row. 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 others and creates 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 are lost and creates an issue when I want to combine the data in a global matrix. I would appreciate the help.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 x row. 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 others and creates 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 are lost and creates an issue when I want to combine the data in a global matrix. I would appreciate the help. 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 x row. 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 others and creates 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 are lost and creates an issue when I want to combine the data in a global matrix. I would appreciate the help. issues when combining data as text files MATLAB Answers — New Questions