please help me, i have the result as following , and i want save it in excel file but the code shows error
조회 수: 3 (최근 30일)
이전 댓글 표시
i used the command
fileName='result.xlsx';
writetable(fhsmooth,fileName);
winopen(fileName)
but the code shows
Undefined function 'write' for input arguments of type 'double'.
Error in writetable (line 117)
write(a,filename,varargin{:})
댓글 수: 0
채택된 답변
Mehmed Saad
2020년 4월 16일
You are using command writetable and you are writing a double array
either change the command from writetable to writematrix
fileName='result.xlsx';
writematrix(fhsmooth,fileName);
or convert fhsmooth to table
fileName='result.xlsx';
writetable(array2table(fhsmooth),fileName);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!