Exporting to excel - xlswrite error

2 vues (au cours des 30 derniers jours)
Carol
Carol le 12 Oct 2018
Commenté : madhan ravi le 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.
  1 commentaire
madhan ravi
madhan ravi le 12 Oct 2018
See my answer below especially the link.

Connectez-vous pour commenter.

Réponses (1)

madhan ravi
madhan ravi le 12 Oct 2018
Modifié(e) : madhan ravi le 12 Oct 2018

Community Treasure Hunt

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

Start Hunting!

Translated by