How to write data on excel right after the cells that are written

조회 수: 2 (최근 30일)
Tiago
Tiago 2022년 12월 5일
답변: Marcel 2022년 12월 7일
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.

답변 (1개)

Marcel
Marcel 2022년 12월 7일
You can append content to a excel file like that.
writecell(cellstr(example_array), "file.xlsx", 'WriteMode','append');

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by