How can I write excel file in MatLab
조회 수: 1 (최근 30일)
이전 댓글 표시
I have huge number of excel files. I have to collect certain data from each of the files and write all of them in a single excel file. How can I do it?
댓글 수: 0
답변 (1개)
Durgesh Naik
2015년 7월 15일
filename = 'Book1_Test.xlsx'; A = {1 2 3 5 6 6 2 0.222 0.122 0.444}; B = {1 12 13 15 1 61 21}; sheet = 1; n = xlsread('Book1_Test.xlsx'); e = length(n); e = mat2str(e) xlRange = (['A' e+1])
xlswrite(filename,A',sheet,xlRange)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!