Community Profile

Rbk


Followers: 0   Following: 0

Message

These posts were very useful. :) But I just would like to specify that in Armindo's code, nRows is the number of raws of the NUMERIC DATA only.

Thus it is worth writing:

% store data of file in variable a
[ndata, text, alldata] = xlsread(file);

% new data to write in file
t = ones(1,10)

% last row with data in the file
nRows = (size(alldata,1));

instead of:

% store data of file in variable a
a = xlsread(file);

% new data to write in file
t = ones(1,10)

% last row with data in the file
nRows = (size(a,1));

Feeds

No Activity