Export dataset to excel file
조회 수: 11 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Adam Barber
2015년 11월 10일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!