How can I write excel file in MatLab

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?

답변 (1개)

Durgesh Naik
Durgesh Naik 2015년 7월 15일

0 개 추천

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)

댓글 수: 1

Chandan Mahishi
Chandan Mahishi 2015년 7월 15일
I want to collect data of power, current and efficiency. I have all those data in different files and want them in single excel file with one heading.

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

카테고리

질문:

2015년 7월 15일

댓글:

2015년 7월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by