How to keep Excel template format when using writetable
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
madhan ravi
el 28 de Oct. de 2018
Editada: madhan ravi
el 28 de Oct. de 2018
t = readtable ('testFile.xlsx')
t.Var2(1,:) = 4
writetable(t,'testFile.xlsx');
2 comentarios
madhan ravi
el 29 de Oct. de 2018
Editada: madhan ravi
el 29 de Oct. de 2018
I use 2018b matlab and excel 2016 , it works in mine but no idea what’s the mystery behind yours
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!