The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.