Export to existing excel file in same sheet

6 ビュー (過去 30 日間)
Swapnil Rane
Swapnil Rane 2018 年 3 月 1 日
回答済み: Tony Mohan Varghese 2018 年 3 月 20 日
My code calculates two required outputs which I can export it to a excel file. After this, I change some values in the code above to get new values. I would like to save the new values to the same old existing file,each time I run the code with new values. Is there any way to perform this?
  1 件のコメント
Bob Thompson
Bob Thompson 2018 年 3 月 1 日
I'm assuming you're using the xlswrite() command. If you don't change anything about the output file directory or name it should just overwrite the old data with new data. If you specify a sheet and range as well it will definitely overwrite the old data.

サインインしてコメントする。

回答 (1 件)

Tony Mohan Varghese
Tony Mohan Varghese 2018 年 3 月 20 日

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by