This project is read-only.

dbload error in reading csv

Mar 7, 2016 at 2:00 PM
Dear all,

I would like to load a csv file, but keep getting the same error message...
In an assignment  A(:) = B, the number of elements in A and B must be the same.

Error in str2dat (line 93)
            Dat(i) = aux;

Error in dbload/doParseDates (line 588)
            dates(~emptyDate) = str2dat(dateCol(~emptyDate), ...

Error in dbload (line 265)
doParseDates();
What could be wrong? I tried wit a different delimiter but it still does not work...

Thanks in advance,
Gergő
Mar 7, 2016 at 4:51 PM
Never mind,

turns out that wrong date-format in Excel regional settings overwrote the original csv and this caused the problem.