Problems loading ascii file (.b00)

5 visualizzazioni (ultimi 30 giorni)
Eric
Eric il 3 Nov 2016
Commentato: Adam il 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 Commento
Adam
Adam il 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by