how can i add my result to sheet 2 in my excel sheet

I have written a script which reads data from an excel file (sheet1) and then I perform some tasks. I want to add my resulted sheet in that excel file but in sheet 2. I am using actxserver for this.

답변 (1개)

Meghana Dinesh
Meghana Dinesh 2015년 10월 19일

0 개 추천

Use the syntax:
xlswrite(filename,A,sheet)

댓글 수: 1

Praveen Choudhury
Praveen Choudhury 2015년 10월 19일
편집: Praveen Choudhury 2015년 10월 19일
I am not using xlswrite. Rather I am using actxserver. I want to add my result to sheet 2 using actxserver.
Below shows how I am doing it
h = actxserver('excel.application');
%Create a new work book (excel file)
wb=h.WorkBooks.Add();

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

카테고리

도움말 센터File Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

태그

질문:

2015년 10월 19일

편집:

2015년 10월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by