please help me, i have the result as following , and i want save it in excel file but the code shows error
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mohammed elmenshawy
am 16 Apr. 2020
Kommentiert: Mehmed Saad
am 16 Apr. 2020
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 Kommentare
Akzeptierte Antwort
Mehmed Saad
am 16 Apr. 2020
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);
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!