saving the data in excel
조회 수: 1 (최근 30일)
이전 댓글 표시
hi all, i am having a 50 files in which every time i want to read a single file and perform some operations on the data and i get an output of 13x1 matrix i want to save this data in an excel file in sheet 1( i can use xlswrite options), when i am reading the second file it has to store output in sheet 2 automatilcally how can i do this?. i want to run this in a for loop. how to save the each output in different sheet. someone please help me. thanks in advacne.
댓글 수: 0
채택된 답변
Ilham Hardy
2012년 6월 14일
Hi,
you can define sheet name on the xlswrite function.
xlswrite(filename, M, sheet)
I can imagine that you can put the integer as (a part of) sheet name
add
warning off MATLAB:xlswrite:AddSheet
to supress addsheet warning
HTH,
IH
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!