How to create multiple folders

7 vues (au cours des 30 derniers jours)
Eugenio Abela
Eugenio Abela le 11 Sep 2012
Commenté : mukesh roy le 14 Août 2018
Hi MATLAB Users,
being a newbie, I have a quite basic question: I want to create multiple folders using the same naming convention (i.e. s_number_date, where s stands for 'subject' and is not changed). Since I have quite a large sample, it's too onerous to do by hand.
Thank you in advance for any suggestions!
Eugenio

Réponse acceptée

Walter Roberson
Walter Roberson le 11 Sep 2012
  4 commentaires
Eugenio Abela
Eugenio Abela le 11 Sep 2012
Hi Walter, Tom and Sean,
thanks a lot, sprintf() does exactly what I was looking for!
Cheers,
Eu
mukesh roy
mukesh roy le 14 Août 2018
Is it possible to make multiple sub folders inside a parent folder using for loop from mkdir function. The naming convention can be taken from the for looping event

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur File Operations 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!

Translated by