Borrar filtros
Borrar filtros

equivalent of xlswrite on Mac

3 visualizaciones (últimos 30 días)
samar
samar el 27 de Oct. de 2014
Comentada: Jian Xu el 6 de Oct. de 2016
Hi everybody, Is there any other matlab function equivalent to xlswrite that work well on mac (extended mode) Thank you,
  4 comentarios
Vito Marangelli
Vito Marangelli el 1 de En. de 2015
I have the same problem. Can we use xslwrite to create an Excel file?
Vito Marangelli
Vito Marangelli el 2 de En. de 2015
At last, I had to use 'writetable' to write a .csv file and eventually import that file in Excel for Mac. I understand that there is no solution to this problem because Matlab is unable to start Excel on a Mac. Considering that I have a 2014b release this is not conforting. I wonder if writing an .xls file does really need the Excel start or if a file can be produce out of Excel.

Iniciar sesión para comentar.

Respuestas (1)

Geoff Hayes
Geoff Hayes el 1 de En. de 2015
It is my understanding that using xlswrite on a Mac will just try to create a csv file with whatever stata you are trying to write to file. I've observed this with R2014a on OS X 10.8.5.
The File Exchange does have something that may work for you. See Marin Deresco's submission at http://www.mathworks.com/matlabcentral/fileexchange/37560-xlwrite---export-data-to-excel-from-matlab-on-mac-win. However, it does require you to download some additional Java libraries.
  1 comentario
Jian Xu
Jian Xu el 6 de Oct. de 2016
It does work. However, xlwrite lacks one property of the old xlswrite function that it can't specify the region that it writes into.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by