Filter löschen
Filter löschen

save to excel file

3 Ansichten (letzte 30 Tage)
reez all
reez all am 21 Mär. 2012
Hi, i have a problem to save the data into excel file, my problem is its not list all the data, for example this code below, i want to list i from 1 to 10, but the result only appear 10. Thank you for helping me.
x = {'Node'};
xlswrite('table.xls',x);
for i = 1:10
xlswrite('table.xls',i,1,'A2');
end

Antworten (1)

Geoff
Geoff am 21 Mär. 2012
You are telling it to start in the same cell every time through the loop.
  1 Kommentar
reez all
reez all am 21 Mär. 2012
how am i going to telling it to list all the i??

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by