Thread Subject:
Write Variable to Existing Excel File

Subject: Write Variable to Existing Excel File

From: Eric

Date: 7 Sep, 2012 18:06:08

Message: 1 of 2

I have a variable called vardata which as 101 x 120 matrix. I've made an excel file that I want vardata to be written to each time through a for loop. I've tried to use the command from a previous response to a similar question
Excel = actxserver('Excel.Application');

but that is not doing what I want it to because it is creating an Excel workbook, whereas I already have the workbook created in a specified location.

Ultimately, I want to write the variable vardata for each subject to my excel file 'Group 1', where each subject's data is appended immediately following the preceding subject. Any help would be much appreciated.

Eric

Subject: Write Variable to Existing Excel File

From: Phil Goddard

Date: 8 Sep, 2012 15:19:08

Message: 2 of 2

Have a look at the following thread

http://www.mathworks.com/matlabcentral/newsreader/view_thread/258986

Phil.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
actxserver Phil Goddard 8 Sep, 2012 11:24:11
excel Phil Goddard 8 Sep, 2012 11:24:11
rssFeed for this Thread

Contact us