필터 지우기
필터 지우기

How do I prevent excel from opening when using writetable?

조회 수: 8 (최근 30일)
Kevin S
Kevin S 2020년 2월 4일
답변: Kevin S 2020년 2월 4일
I am writing multiple tables in a for loop using writetable. Every call to writetable opens a new excel window which is very annoying, not to mention a complete memory hog. Is there a way to prevent this? I just want Matlab to write the file in the background and close it when finished.

답변 (1개)

Kevin S
Kevin S 2020년 2월 4일
Of course I would figure out a workaround as soon as I reach out for help.
This issue only occurs if excel is already open. Closing Excel completely prevented any new windows from opening up. It's still not ideal since you can't look at data in Excel while running the Matlab code, but it's something.

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by