Error when using "xlswrite"
1 view (last 30 days)
Show older comments
Hello,
I have the following problem:
Every time I try to write some variables into an excel file I get this error:
Error using xlswrite (line 220)
Error: The server threw an exception.
Can anybody help?
Thank you!
4 Comments
Ugue Halden
on 31 Mar 2016
I think the problem can be within xlswrite function, maybe it is not designed for writing exceptaniol arrays into excel format ( For example maybe it is not suitable for writing Categorical Arrays )
This is the only logical idea which popped into my mind with given information by you.
Walter Roberson
on 31 Mar 2016
How large is the data, and which file extension did you use? .xls ? .xlsx ?
Answers (2)
Leo Müller
on 1 Apr 2016
1 Comment
Image Analyst
on 1 Apr 2016
It should not occur if there is no file existing yet. It should work.
Alternatively, have you tried writetable()?
vincent becker
on 18 Jul 2016
Hi forum,
I've got the same error. How can I print the error message following the doc : [status message] = xlswrite(...);
How can I display 'message' say with fprintf?
Thought of a file path too long but isn't
Thanks Vincent
0 Comments
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!