how to create new folder ?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to create a new folder ? if the folder already exist , the program will add another new folder. for example, i want to create a folder named 'Image' , if the 'Image' folder already exist, program will create another folder name 'Image1' .
0 commentaires
Réponses (1)
Stephen23
le 13 Avr 2018
Modifié(e) : Stephen23
le 1 Jan 2020
You could download my FEX submission nextname:
It will return the next unused file/folder name, which you can then simply use with mkdir. Each time you need a new directory simply call it with exactly this code:
name = nextname('image','1','');
mkdir(name)
1 commentaire
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!