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: Simple but stunning xlswrite problem.
Replies: 1   Last Post: Dec 5, 2012 12:55 PM

Advanced Search

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

Posts: 7
Registered: 12/4/12
Simple but stunning xlswrite problem.
Posted: Dec 5, 2012 8:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I get an error when trying to write very basic arrays using xlswrite.

This works:
a = cell(5);
a(1:25) = 1;
xlswrite('test', a)

THIS does not work:
a = cell(5)
a(1:25) = 1;
a(1,5) ={'a'};
xlswrite('test',a);

I get the following error:

??? Error using ==> xlswrite at 180
An error occurred on data export in CSV format.
Error using ==> <a href="error:C:

Does anyone have any idea why this could be happening?



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.