why can't i load this .csv file in matlab?

I am getting a error message saying that this file can not be loaded in matlab using csvread... Why not.. I am very confused here.
I load it as such
oneTeenthhz_input = transpose(csvread('input1.csv'));

 Akzeptierte Antwort

Joseph Cheng
Joseph Cheng am 21 Mai 2015
Bearbeitet: Joseph Cheng am 21 Mai 2015

0 Stimmen

are you sure that you want column 8065 or end of line one to read "0};"? i am running something so i can't try using matlab but i can see that being an issue
what is your sample code to read it in? I also am thinking it could be that the lines are not the same length of entries.

4 Kommentare

James
James am 21 Mai 2015
updated.. the dataset is used for simulink ident => so i want a one giant vector
Joseph Cheng
Joseph Cheng am 21 Mai 2015
so read the documentation on csvread. here is the last sentence of the documentation on csvread()
The file can only contain numeric values.
so the }; is probably killing the call.
Also through out your excel file you have random { and i think } scattered through it. like column 1803 in row 1 has
0.00502173458987{0
which isn't a number
James
James am 21 Mai 2015
Ahh... The data had been inserted multiple times..{ indicates the start of the dataset..
thanks:)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Mai 2015

Kommentiert:

am 21 Mai 2015

Community Treasure Hunt

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

Start Hunting!

Translated by