for loop & saving tables

1 回表示 (過去 30 日間)
Aleksandra Ksiezyk
Aleksandra Ksiezyk 2020 年 8 月 25 日
回答済み: Rik 2020 年 8 月 25 日
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 ??)

採用された回答

Rik
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 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by