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

4 次查看(过去 30 天)
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

采纳的回答

Mario Malic
Mario Malic 2020-11-17
编辑:Mario Malic 2020-11-17
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by