How can a save to a NEW excel file

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 Kommentar

Emily
Emily am 19 Aug. 2014
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

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Iain
Iain am 19 Aug. 2014

0 Stimmen

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 am 19 Aug. 2014

0 Stimmen

Thanks yes had made a typo in the name of the array thanks for your time

Gefragt:

am 19 Aug. 2014

Beantwortet:

am 19 Aug. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by