save to excel file

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일

0 개 추천

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??

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

질문:

2012년 3월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by