My csv file looks like this
'have', 1436271616097.0, 33.0, 'noChange', 1436271538982.0
'four', 1436271616130.0, 466.0, 'noChange', 1436271538982.0
'have', 1436271616596.0, 467.0, 'noChange', 1436271538982.0
'four', 1436271617063.0, 100.0, 'noChange', 1436271538982.0
I tried using [num, txt, raw] = csvread('test.csv')
it shows error saying Too many output arguments.
i tried converting my csv file to .xlsx but then it changes the numbers to this,
have 1.44E+12 33 noChange 1.44E+12
four 1.44E+12 466 noChange 1.44E+12
have 1.44E+12 467 noChange 1.44E+12
four 1.44E+12 100 noChange 1.44E+12
minutes 1.44E+12 666 noChange 1.44E+12
then i used [num, txt, raw] = xlsread('test.xls')
but the problem is that if i display eyeT = vpa(eyeT(:,1))
it shows same float value. how can i use textscan for this?
This as a short example using
textscan
for the mentioned csv-file. This gives you a cell array for each column.This is the result: