Export dataset to excel file
10 views (last 30 days)
Show older comments
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')
0 Comments
Answers (1)
Adam Barber
on 10 Nov 2015
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 Comment
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!