How to keep Excel template format when using writetable
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
madhan ravi
2018 年 10 月 28 日
編集済み: madhan ravi
2018 年 10 月 28 日
t = readtable ('testFile.xlsx')
t.Var2(1,:) = 4
writetable(t,'testFile.xlsx');
2 件のコメント
madhan ravi
2018 年 10 月 29 日
編集済み: madhan ravi
2018 年 10 月 29 日
I use 2018b matlab and excel 2016 , it works in mine but no idea what’s the mystery behind yours
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!