How to create multiple folders

3 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 11 Sep 2012
  4 Comments
Eugenio Abela
Eugenio Abela on 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 on 14 Aug 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

Sign in to comment.

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!