How to create new excel file if the excel file exist?

4 Ansichten (letzte 30 Tage)
NoYeah
NoYeah am 17 Nov. 2020
Bearbeitet: Mario Malic am 17 Nov. 2020
for example
if I want to save my data and their already data00.xls exist
create data01.xls automatically and save data to it
and doing the same thing for data02 03...100

Akzeptierte Antwort

Mario Malic
Mario Malic am 17 Nov. 2020
Bearbeitet: Mario Malic am 17 Nov. 2020
Hello,
Checking if file exists, you can do by isfile function.
There is a submission on FEX created by Stephen Cobeldick called Next Available Filename.

Weitere Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by