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

4 ビュー (過去 30 日間)
NoYeah
NoYeah 2020 年 11 月 17 日
編集済み: Mario Malic 2020 年 11 月 17 日
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 Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by