Export to existing excel file in same sheet

조회 수: 2 (최근 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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by