How to write data on excel right after the cells that are written
1 次查看(过去 30 天)
显示 更早的评论
I have a table with data first colummn has month and second line has the yellow recycling value that month,3rd has blue recylging and 4rd has grteen recyling.How can i i write the data in excel using matlab so it knows when it needs to add the info to the months column or to the values lines without specifing the coordinates of the cell.
0 个评论
回答(1 个)
Marcel
2022-12-7
You can append content to a excel file like that.
writecell(cellstr(example_array), "file.xlsx", 'WriteMode','append');
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!