Hello to all!
I am trying to append some csv files into one file using the following code:
csv1 = csvread('2011_basehourlycurves_demand.csv');csv2 = csvread('2012_basehourlycurves_demand.csv');allCsv = [csv1;csv2];csvwrite('combined_csv', allCsv);
However, when I try to call my data it appears the following error:
Error using dlmreadMismatch between file and format character vector.Trouble reading 'Numeric' field from file (row number 1, field number 1) ==>
Which I guess is because one of my varible/columns is composed by a categorical variable.
How can I fix this error? I tried using textscan, but It was not working.
Thank you in advance!
Best Answer