How can I make a line be ignored by importdata?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Pal Szabo
el 8 de Sept. de 2017
Respondida: KSSV
el 8 de Sept. de 2017
I have a txt file as input. It has a few lines which I don't want to use in my script. Is there anything I can do with the input file, not with the matlab script, to be ignored by importdata?
0 comentarios
Respuesta aceptada
KSSV
el 8 de Sept. de 2017
Read about textscan you can specify header lines there which ignores the lines. Or if your data is complete numerical, load it using load and skip the numbers you want.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Workspace Variables and MAT-Files 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!