Exporting to excel - xlswrite error

12 views (last 30 days)
Carol
Carol on 12 Oct 2018
Commented: madhan ravi on 12 Oct 2018
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:
  1. I have 64-bit Matlab and 32-bit Excel 2016. EDIT: I have a PC
  2. 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
madhan ravi on 12 Oct 2018
Edited: madhan ravi on 12 Oct 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!