How can a save to a NEW excel file

3 次查看(过去 30 天)
Emily
Emily 2014-8-19
回答: Emily 2014-8-19
Is there a way to save an array to a new excel file as opposed to pre-existing excel file as with xlswrite (if I have understood!) Thanks
  1 个评论
Emily
Emily 2014-8-19
Should have said I want to save a series of array automatically in the code rather than copying from the workspace to an excel file manually and saving manually etc

请先登录,再进行评论。

回答(2 个)

Iain
Iain 2014-8-19
xlswrite will generate new files if the filename you give it doesn't already exist.
delete(filename) will delete an existing file (assuming it isn't open etc.)

Emily
Emily 2014-8-19
Thanks yes had made a typo in the name of the array thanks for your time

标签

Community Treasure Hunt

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

Start Hunting!

Translated by