Exporting to excel - xlswrite error

15 visualizaciones (últimos 30 días)
Carol
Carol el 12 de Oct. de 2018
Comentada: madhan ravi el 12 de Oct. de 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.
  1 comentario
madhan ravi
madhan ravi el 12 de Oct. de 2018
See my answer below especially the link.

Iniciar sesión para comentar.

Respuestas (1)

madhan ravi
madhan ravi el 12 de Oct. de 2018
Editada: madhan ravi el 12 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by