Effacer les filtres
Effacer les filtres

Problems loading ascii file (.b00)

2 vues (au cours des 30 derniers jours)
Eric
Eric le 3 Nov 2016
Commenté : Adam le 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 commentaire
Adam
Adam le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by