importdata cuts my files in half!
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
drct = 'S_up_';
top = importdata(strcat(drct,'200.txt'));
The attached .txt file is 5000 rows tall, but when I use importdata or load, it only loads the first 2500 rows.
There is no header, only straight data. I also tried specifying space delimiter but the problem persists.
So it exactly cuts my data in half, Weird.
version R2016a
1 comentario
Respuestas (1)
Cris LaPierre
el 11 de Ag. de 2020
Editada: Cris LaPierre
el 11 de Ag. de 2020
When I open the file you have attached (outside MATLAB), it only contains 2500 rows. Perhaps you meant to attach a different file? Or perhaps you are mistaken in thinking the file has 5000 rows?
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!