How to keep Excel template format when using writetable
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi. I,m trying to export my data to Excel file by using writetable function, but when I use this function, the destination file format will be reset. How should I do to keep the template format unchanged?
2 Kommentare
Antworten (1)
madhan ravi
am 28 Okt. 2018
Bearbeitet: madhan ravi
am 28 Okt. 2018
t = readtable ('testFile.xlsx')
t.Var2(1,:) = 4
writetable(t,'testFile.xlsx');
2 Kommentare
madhan ravi
am 29 Okt. 2018
Bearbeitet: madhan ravi
am 29 Okt. 2018
I use 2018b matlab and excel 2016 , it works in mine but no idea what’s the mystery behind yours
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!