Exporting to excel - xlswrite error
12 views (last 30 days)
Show older comments
I'm trying to export the data in xlsx format, but I get a csv file instead.
I get the following error when I try to export a table onto Excel:
Warning: Could not start Excel server for export.
XLSWRITE will attempt to write file in CSV format.
Two things I've looked into:
- I have 64-bit Matlab and 32-bit Excel 2016. EDIT: I have a PC
- I've tried inputting this code before everything:
actxcontrollist
Excel = actxGetRunningServer('Excel.Application');
Excel = actxserver('Excel.Application')
Even though the error no longer appears, the data still doesn't update in the xlsx format.
Answers (1)
madhan ravi
on 12 Oct 2018
Edited: madhan ravi
on 12 Oct 2018
If you are using mac you can only write it in csv format.
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!