How do I prevent excel from opening when using writetable?

2 次查看(过去 30 天)
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 中查找有关 Data Import from MATLAB 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by