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 to multiple dataset to excel spreadsheet
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Ajay Bidyarthy

Posts: 4
Registered: 3/6/14
write to multiple dataset to excel spreadsheet
Posted: May 15, 2014 8:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have 4 variables defined in matlab,

for example:

data1 = dataset(x1, x2);

data2 = dataset(x3, x4);

I want to save data1 and data2 to one excel file where data1 and data2 writes to sheet name 'data1' and 'data2' respectively with column names x1, x2, ....

I tried by doing this but in csv:

export(data1, 'file', 'data.csv', 'Delimiter', ',');

Need help,

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.