for loop & saving tables
조회 수: 1 (최근 30일)
이전 댓글 표시
I am running some simulation in a for loop where as outputs i am getting: Table_heating (matrix 12x6) and Table_dhw (matrix 12x6)
is there any possibility to save both tables in excel with all the simulations and not overwriting them ??
(to have it next to each other with 2 or 3 columns of space between next simulation ??)
댓글 수: 0
채택된 답변
Rik
2020년 8월 25일
The easiest way is to read the excel file, append the new results and write the newly expanded cell array.
Alternatively you can use writecell(___,'WriteMode','append');.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!