Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Write Variable to Existing Excel File
Replies: 2   Last Post: Sep 8, 2012 11:19 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Eric

Posts: 5
Registered: 9/7/12
Write Variable to Existing Excel File
Posted: Sep 7, 2012 2:06 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.