save to excel file

5 次查看(过去 30 天)
reez all
reez all 2012-3-21
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

回答(1 个)

Geoff
Geoff 2012-3-21
You are telling it to start in the same cell every time through the loop.
  1 个评论
reez all
reez all 2012-3-21
how am i going to telling it to list all the i??

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by