Export dataset to excel file
Ältere Kommentare anzeigen
Hi. I want to export a dataset to excel file. The dataset is of 1x27 cell. using the export gives the following error.
export(ds,'XLSFile','hospital.xlsx')
Undefined function 'export' for input arguments of type 'cell'.
Error in feture_loop (line 16)
export(ds,'XLSFile','hospital.xlsx')
Antworten (1)
Adam Barber
am 10 Nov. 2015
0 Stimmen
The error indicates that "ds" is a cell, and not a "dataset" variable. A dataset has a specific definition within MATLAB.
Take a look at xlswrite.
1 Kommentar
farheen asdf
am 10 Nov. 2015
Bearbeitet: farheen asdf
am 10 Nov. 2015
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!