Problems loading ascii file (.b00)

1 次查看(过去 30 天)
Eric
Eric 2016-11-3
评论: Adam 2016-11-3
Hi everybody,
I have had some trouble loading ascii files ending in (.b00). When I write the following:
S = load('test.b00');
It gives me the following error:
"Error using load Number of columns on line 2 of ASCII file test.b00 must be the same as previous lines."
Any ideas on how to fix it?
Best,
Eric
  1 个评论
Adam
Adam 2016-11-3
Well, are the number of columns on line 2 the same as previous lines? I never load ASCII files, but the simple load option doesn't appear to support anything fancy like headers so unless your file contains just regular data that can be read into an array it will likely give an error like that.
But I have no idea what is in your file so I couldn't say. The error message gives a very clear statement as to what is wrong though.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by