Problems loading ascii file (.b00)

1 Ansicht (letzte 30 Tage)
Eric
Eric am 3 Nov. 2016
Kommentiert: Adam am 3 Nov. 2016
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 Kommentar
Adam
Adam am 3 Nov. 2016
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by