How can I get txtscan to read this file?

2 次查看(过去 30 天)
I tried this but it only seems to have read the first line. There are tabs between columns, I believe.
G = textscan(F,'%15.15f\t%15.15f\t%15.15f\t%15.15f\t%15.15f','headerlines',1)
Thanks

采纳的回答

Star Strider
Star Strider 2022-9-21
It would help to have the file to experiment with.
If textscan is only reaidng the first line, consider adding:
'EndOfLine','\r\n'
That has worked for me in the past.
.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

标签

产品


版本

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by